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 |
How to check whether cookies are disbled or not in the browser ? If that is the case how do you handle the sessions ?
What is an anti csrf token?
How do I sort numbers in php?
which function used to get the number of days between two given dates in php
How to fix "headers already sent" error in php
Tell us how can we display the output directly to the browser?
How do I add to the beginning of an array and find the number of elements in it?
1 Answers Rushmore Consultancy,
How can we extract string ?allinterview.com ? from a string ?http://info@allinterview.com? using regular expression of PHP?
How to find second highest salary
What are the methods of array in java?
How can we calculate the similarity between two strings?
PHP can be used frontend of for backend?