Re: setting cookies so the cookie will expire when the user's session ends.

From: Date: Thu, 05 Jul 2001 22:11:21 +0000
Subject: Re: setting cookies so the cookie will expire when the user's session ends.
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-10100@lists.php.net to get a copy of this message
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" <mrsql.php@worldnet.att.net> wrote in message news:001701c1056d$2cb7c620$ca42500c@zeospantera... > Hello, > any way to set cookies so the cookie will expire when the user's session > ends. > > IN PHP 4? > > Ken >

« previous php.db (#10100) next »