[PHP-DB] Re: setting cookies so the cookie will expire when the user's session ends.

2001-07-05 Thread Kelvin
Hi Ken, Do not specific the time in your cookie. ex: setcookie(usercookie,$username); once the user close the session, it will terminate the cookie. Kelvin. Ken Sommers [EMAIL PROTECTED] wrote in message

Re: [PHP-DB] Re: setting cookies so the cookie will expire when the user's session ends.

2001-07-05 Thread Ken Sommers
Kelvin, thanks, do you believe or hopefully even know that that expiration time for this cookie: setcookie (TestCookie, $value,time()+3600); /* expire in 1 hour */ will be one hour after the cookie is set OR one hour after the session expires? Ken Kelvin [EMAIL PROTECTED] wrote in message

RE: [PHP-DB] Re: setting cookies so the cookie will expire when the user's session ends.

2001-07-05 Thread Beau Lebens
one hour after the cookie is set, the session won't expire as such until either 1. the user closes their browser and destroys temporary cookies (not the case if you set expiry time) 2. the expiry time is reached 3. you determine from some other method (i.e. a different variable is set to fale or