Re: Sessions???

From: Date: Wed, 23 Jan 2002 12:39:01 +0000
Subject: Re: Sessions???
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-16089@lists.php.net to get a copy of this message
On Wednesday 23 January 2002 14:27, Hayan Al Mamoun wrote: > I'm doing a simple shopping cart program, and I want to track > the user when he leave so that I can remove the allocating > flags from the items he choosed into his shoping cart > Is there a way to know the the visitor has just left the site??? > Thank you All session-related info (cookies etc.) are removed when the user closes the browser. Also, I think I read something about PHP ending sessions after 20 minutes of inactivity, but I'm not quite sure about that. Simply having a logout-button that calls session_destroy() would also solve the problem. Cheers, Markus -- Markus Lervik Linux-administrator with a kungfoo grip Vaasa City Library - Regional Library markus.lervik@vaasa.fi +358-6-325 3589 / +358-40-832 6709

« previous php.db (#16089) next »