> Is this a never expiring cookie, or a "per" session cookie?  I want to
> create a never expiring cooky.
>
> SetCookie ("MyNeverExpiringCookie", "This cookie should never expire");

That is a session cookie.  It will disappear when the user closes the
browser.

The Cookie spec puts an upper bound on how long you can set the expiration
of a Cookie, I think...  And I think it's like 2 years...

You can always update the cookie when somebody visits your site again.
Let's face it, if they haven't come back within 2 years, they really aren't
going to remember any context from your cookie anyway.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to