Re: session

From: Date: Mon, 17 May 2004 21:10:07 +0000
Subject: Re: session
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-186434@lists.php.net to get a copy of this message
You could do add an extra value/parameter to your session, "lastactive". Each time you have some activity from the current session you update your database with a timestamp. This way you could easily delete everything from your database which is older that say 30 minutes. Having a session database which grows out of proportions is kinda waste of space. -- -- Kim Steinhaug ---------------------------------------------------------------------- There are 10 types of people when it comes to binary numbers: those who understand them, and those who don't. ---------------------------------------------------------------------- www.steinhaug.com - www.easywebshop.no - www.webkitpro.com ---------------------------------------------------------------------- "Mrs" <mrs@acn.waw.pl> wrote in message news:20040516212331.89061.qmail@pb1.pair.com... > Hi > > How can I check if speciffic session is alive having session id? > Or how can I delete data from MySQL belong to dead session? > > (I hope somebody understend what I wrote) > > MrS

« previous php.general (#186434) next »