1.

How To Reset/destroy A Cookie?

Answer»

Reset a cookie by specifying expire TIME in the PAST:
EXAMPLE: setcookie(’Test’,$i,time()-3600); // already EXPIRED time
Reset a cookie by specifying its name only Example: setcookie(’Test’);

Reset a cookie by specifying expire time in the past:
Example: setcookie(’Test’,$i,time()-3600); // already expired time
Reset a cookie by specifying its name only Example: setcookie(’Test’);



Discussion

No Comment Found