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
Explain the purpose of output buffering in php.
Explain about PHP filter and why it should be used?
What are the rules to determine the “truth” of any value which is not already of the boolean type?
What is meant by an associative array?
Is it more secure to use cookies to trfer session ids?
How is it possible to cast types in php?
What is the difference between htmlentities() and htmlspecialchars()?
What is serialization in php?
What are the method available in form submitting?
Tell us how to redirect a page in php?
Explain about the connective abilities of the PHP?
Is salary a ratio or interval?
What is php explain how php works?
Tell me what is the use of mysql_real_escape_string() function?
What is mysql_fetch_object?