How can we destroy the cookie?
Answers were Sorted based on User's Feedback
Answer / thoms
By providing past values.
for eg:
setcookie("name","value",time()-3600);
| Is This Answer Correct ? | 37 Yes | 6 No |
Answer / nikunj
By setting previous time for cookie, we can destroy it.
| Is This Answer Correct ? | 16 Yes | 6 No |
What is the difference between echo and print statement?
11 Answers Rushmore Consultancy,
Are there regular expressions in php?
What is htaccess? Why do we use this and where?
What library is used for pdf in php?
What is the default session time in PHP and how can I change it?
How to select a database?
How can we increase execution time of a php script?
What is an anti csrf token?
Tell me what are the different types of errors in php?
What is csrf token and how will you add csrf token in ajax?
Is session a cookie?
What is the differences between $a != $B and $a !== $B?