note 74613 added to function.setcookie
| From: | Wernight at osu1 dot php dot net | Date: | Fri, 20 Apr 2007 08:34:14 +0000 |
| Subject: | note 74613 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-125582@lists.php.net to get a copy of this message | ||
The timeout is tricky as far as I read it depends on the time synchronization between the server and
the client. If the GMT time is different (for example your computer is 5 min forward from the server
time, don't know about the daylight saving problem) then the cookie timeout if affected by
this.
Since I didn't very this information don't take it as factual but as a possible reason for
problem (like the one below about IE).
The second conclusion is to use big values. For small values use something else (sessions,
database...).
----
Server IP: 203.169.164.81
Probable Submitter: 203.83.115.133 (proxied: 218.252.244.216)
----
Manual Page -- http://www.php.net/manual/en/function.setcookie.php
Edit -- https://master.php.net/note/edit/74613
Del: integrated -- https://master.php.net/note/delete/74613/integrated
Del: useless -- https://master.php.net/note/delete/74613/useless
Del: bad code -- https://master.php.net/note/delete/74613/bad+code
Del: spam -- https://master.php.net/note/delete/74613/spam
Del: non-english -- https://master.php.net/note/delete/74613/non-english
Del: in docs -- https://master.php.net/note/delete/74613/in+docs
Del: other reasons-- https://master.php.net/note/delete/74613
Reject -- https://master.php.net/note/reject/74613
Search -- https://master.php.net/manage/user-notes.php