note 78186 deleted from function.setcookie by danbrown
| From: | danbrown@php.net | Date: | Sun, 17 May 2009 17:48:31 +0000 |
| Subject: | note 78186 deleted from function.setcookie by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155026@lists.php.net to get a copy of this message | ||
Note Submitter: sony-santos at bol dot com dot br
----
The emulation proposed by jcastromail (below) is useful to solution a frequent problem: the
server's and client's clock synchronization. By setting and deleting cookies via
Javascript, the browser will use the client's clock as basis and the cookie will expire at
desired time, no matter if it is seven years in the past or in the future.