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
Write logic to print Floyd's triangle in PHP?
What is the current stable version of php? What advance thing in php7?
Why we use get in php?
What are the different ways to login to a remote server?
What is the purpose of a query?
What is the definition of a session?
Should I learn php before wordpress?
can you give me an example code of calling java script function in php variable using AJAX.or with out ajax??????
What are the different types of statements that are present in php?
Which is better php praogramming or cad/cam scope wise and also salaray wise?
Explain the difference between isset() and empty()?
What is varchar mysql?
When to use get and post request?
Do you know what is the use of rand() in php?
Is php faster than python?