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 $_session in php?
How to create and destroy cookies in php?
How do you remove whitespace from the beginning and end of a $string variable?
What does pear stand for?
Explain php parameterized functions.
How to take a substring from a given string in php?
What is super () python?
How values in arrays are indexed?
What are the advantages of stored procedures, triggers, indexes in php?
What is the expansion of LAMP?
What is action hooks and filter hooks?
Tell me what is the difference between characters 34 and x34?
What is trait in php?
Do I need apache for php?
Do while loops php?