1.Where are the cookies storing ?
2.What is the drawback of using cookies ?
3. If two site is having same cookie name and different
values what will be the output if we echo the cookie name
from those sites ? How can we solve this issue (How can we
specify the domain name)?
Answer Posted / binoyav
2. Drawback of cookies is they are less secure. For example,
if you are using windows machine, cookies will be stored in
cookies folder. So others can copy that file and paste in
his machine. So that he can login with other user's
username and password.
I have answered in this way. Next question from the
interviewer was 'How can we make cookies secure ?' :-(
Anybody please answer this question.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the difference between characters and #?
Is php a dying language?
Is age a variable in research?
How to convert one date format into another in php?
What is php and sql?
What are classes in php?
What does the array operator '===' means?
what is PDO?
What does $this do in php?
How to copy a file?
Why php is sometimes called as embedded scripting language?
Tell me what is the difference between ereg_replace() and eregi_replace()?
Which parts of php are case sensitive?
What is csrf cookie?
What is action hooks and filter hooks?