note 43012 added to function.setcookie
| From: | drakk at fiendworld dot com | Date: | Sun, 06 Jun 2004 23:10:39 +0000 |
| Subject: | note 43012 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-70502@lists.php.net to get a copy of this message | ||
for your question below
a cookie is set with your servers time
so if someone in a different timezone uses your cookie, they will still expire same time...time()
calls the time on your server..and the cookie expire time will run off the same time
----
Manual Page -- http://www.php.net/manual/en/function.setcookie.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+43012
Delete -- http://master.php.net/manage/user-notes.php?action=delete+43012&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+43012&report=yes
Search -- http://master.php.net/manage/user-notes.php