note 9704 deleted from function.setcookie by rasmus
| From: | rasmus@php.net | Date: | Sat, 10 Aug 2002 14:29:37 +0000 |
| Subject: | note 9704 deleted from function.setcookie by rasmus | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-34700@lists.php.net to get a copy of this message | ||
I must comment what was said here about setting cookies with time less than time()+500. I have a
time()+360 and it works fine, and I have not experienced any problems with cookies whe setting them
with setcookie().
I have one question though, how does the time in the cookie relate to the time on the server? I know
that when I set a time in the cookie, let´s say time()+360, and save the time string in a table,
the time will still be the same in both the cookie and the table after 3 minutes. And since the time
on the server and in the browser isnt the same, the browser must have nothing to do with the time
and its just a string, not something that the browser checks every second to know when to delete it.
These are just my thaughts, please tell me if I´m wrong or if I missed something.
/digizard