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 / abhi kakade
I have answered in this way. Next question from the
interviewer was 'How can we make cookies secure ?' :-(
Anybody please answer this question.
Ans : there are two types of cookies 1) permanent 2)
temporary temporary cookies are secure those cookies file
gets deleted when browser session ends.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is difference between php and html?
How can we make a constant in php?
How to compare two strings with comparison operators in php?
Tell me how do I check if a given variable is empty?
How to initiate a session in php?
Does apache use php?
Is empty in php?
What does $_files means?
What does $globals mean?
Is php difficult to learn?
Is it difficult to learn php?
What type of headers that PHP supports?
What is use of echo in php?
Explain Constant in Class?
How to remove a file?