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 001701c1056d$2cb7c620$ca42500c@zeospantera">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 > -- PHP Database 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]