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 htmlentities() and htmlspecialchars()?
What are examples of dependent variables?
How to remove blank spaces from the string?
What is the function to count elements in an array in PHP?
Explain the visibility of the property or method?
What is the function file_get_contents() useful for?
How to check curl is enabled or not in PHP
Does php have a future?
What is php form validation?
What is the difference between query and question?
What u mean by query?
Why php script is not running in browser?
What are classes in php?
Which is the latest version of php?
Tell me what are the functions to be used to get the image's properties (size, width and height)?