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" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to