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
How to check curl is enabled or not in PHP
What is nginx and what is it used for?
What does a delimiter do in mysql?
When to use get and post request?
What is the difference between == and === operator in PHP?
Write an example to remove html tags from a string in php?
Explain about the data types in PHP?
How many data types are there in php?
Explain Type juggling?
Which function is used in php to count the total number of rows returned by any query?
How to access a global variable inside a function?
Why do you need php?
Write a program to swap two numbers using php.
What does csrf token mean?
How to write the form tag correctly for uploading files?