note 78186 added to function.setcookie
| From: | sony-santos at bol dot com dot br | Date: | Tue, 02 Oct 2007 12:40:57 +0000 |
| Subject: | note 78186 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-130982@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 69.147.83.197
Probable Submitter: 201.26.211.13
----
Manual Page -- http://www.php.net/manual/en/function.setcookie.php
Edit -- https://master.php.net/note/edit/78186
Del: integrated -- https://master.php.net/note/delete/78186/integrated
Del: useless -- https://master.php.net/note/delete/78186/useless
Del: bad code -- https://master.php.net/note/delete/78186/bad+code
Del: spam -- https://master.php.net/note/delete/78186/spam
Del: non-english -- https://master.php.net/note/delete/78186/non-english
Del: in docs -- https://master.php.net/note/delete/78186/in+docs
Del: other reasons-- https://master.php.net/note/delete/78186
Reject -- https://master.php.net/note/reject/78186
Search -- https://master.php.net/manage/user-notes.php