Put an expiration date that is far in the future, say 10 years from now. 
Every time the cookie is updated, change the date to current_time + 10 
years and you should be OK.

- Saeid

At 01:22 PM 2/28/2002, you wrote:
>I know how to create cookies, and how to cause them to expire.  I also 
>know how to cause a 'session cookie' to be created.  However, what I would 
>like to do is create a cookie that persists 'forever'.
>
>Is there a way to do this?
>
>What I want to do is give site visitors the ability to log in once and 
>then never have to log in again (unless they are doing something that 
>might impact their checkbook, in which case they always have to re-login - 
>just to make extra sure)
>
>Thanks!
>
>Eddie




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to