Re: Re: Active PHP Sessions

From: Date: Mon, 10 May 2004 15:15:52 +0000
Subject: Re: Re: Active PHP Sessions
Groups: php.general 
Request: Send a blank email to php-general+get-185809@lists.php.net to get a copy of this message
I'm not sure if this is the right place to post this (if not, I would appreciate being directed to the correct place). I looked into adodb and got it running. However, it mentions the ability to execute a function when a session expires. I would like to know where I write this function. Thanks!
From: <zooming@gamebox.net> To: <php-general@lists.php.net> Subject: Re: [PHP] Re: Active PHP Sessions Date: Fri, 7 May 2004 12:17:32 -0400 adodb also handles sessions in a database http://phplens.com/lens/adodb/docs-session.htm ----- Original Message ----- From: "Paul Higgins" <developer_paul_php@hotmail.com> To: <roehr@zilleon.com>; <php-general@lists.php.net> Sent: Friday, May 07, 2004 9:40 AM Subject: RE: [PHP] Re: Active PHP Sessions I've read stuff like that also. However, if I choose to do this, I must write all the session handling myself, correct? Are there any scripts already out there that do this? Thanks
From: "Torsten Roehr" <roehr@zilleon.com> To: php-general@lists.php.net Subject: [PHP] Re: Active PHP Sessions Date: Fri, 7 May 2004 15:30:29 +0200 "Paul Higgins" <developer_paul_php@hotmail.com> wrote in message news:BAY13-F73ib4g3Sv0YK000050ec@hotmail.com...
Hi all, I'm on a shared server, and I do not believe that I have access to
the
/tmp
directory where the session files are stored (I believe that is how
it
works
:). I want to keep track of which sessions are active. Basically,
I
just
want a list of the active sessions for my site. How can I do this?
If you use a database as container for your session data you could
easily
do a SELECT COUNT(*) FROM sessions to get the number of the sessions.
Using a
DB as session container is also more secure on a shared server (at
least
that's what I often read about session security). Regards, Torsten
Thanks! _________________________________________________________________ Watch LIVE baseball games on your computer with MLB.TV, included
with
MSN
Premium!
http://join.msn.com/?page=features/mlb&pgmarket=en-us/go/onm00200439ave/dir e
ct/01/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
_________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.com/go/onm00200415ave/direct/01/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
_________________________________________________________________ Mother’s Day is May 9. Make it special with great ideas from the Mother’s Day Guide! http://special.msn.com/network/04mothersday.armx

« previous php.general (#185809) next »