Re: CookieMonster
| From: | Jason Davidson | Date: | Thu, 01 Sep 2005 18:02:57 +0000 |
| Subject: | Re: CookieMonster | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-221704@lists.php.net to get a copy of this message | ||
You can.. Dont include the expire argument.. or set it to 0.
Jason
On 9/1/05, Philip Hallstrom <php@philip.pjkh.com> wrote:
>
> > Simple question I guess..
> >
> > How do I set a cookie so it will never expire? (I don't want it to
> expire)
>
> You can't really... I could delete it and that would be the same as
> expiring it...
>
> Best you can do is set it to expire 100 years in the future or some
> such... see the manual for SetCookie() for more info...
>
> -philip
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>