RE: [PHP] Cookies won't stick
| From: | Johnson, Kirk | Date: | Fri, 02 Nov 2001 20:02:55 +0000 |
| Subject: | RE: [PHP] Cookies won't stick | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-73293@lists.php.net to get a copy of this message | ||
If the cookie lifetime is set to 0, then it is a "session" cookie, and it
persists until the browser is closed.
Kirk
> -----Original Message-----
> From: jennyw [mailto:donotspam-jen@dangerousideas.com]
> Sent: Friday, November 02, 2001 12:48 PM
> To: php-general@lists.php.net
> Subject: [PHP] Cookies won't stick
>
>
> For some reason, when I tried using setcookie(), cookies
> wouldn't stick
> around. When I added an expiration time, cookies started
> sticking around,
> but ... I thought that if you didn't provide an expiration they were
> supposed to stick around indefinitely?
>
> Thanks!
>
> Jen