Re: session duration
| From: | Ivan Voras | Date: | Tue, 02 Jul 2002 10:06:44 +0000 |
| Subject: | Re: session duration | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-104886@lists.php.net to get a copy of this message | ||
"Richard Lynch" <rich@phpbootcamp.com> wrote in message
news:20020702092207.GERZ903.sccrmhc03.attbi.com@[192.168.1.103]...
> >Is there a way to programatically (inside a session) change session
duration
> >for the current session only? (using cookie-based sessions) ?
>
> Wild Guess:
>
> What if you use the PHP functions to alter the php.ini value for session
> time out in that script before you call session_start()?...
maybe, but that would change the duration for ALL follwing sessions...?
> PHP is just sending Cookies with the session ID and a time-frame for their
not just. There is the matter of session variables that are serialized into
files on the filesystem, and garbage collected when sessions expire...
> This is just *SOOO* wrong to do, but it may let you limp by until you come
> up with a better answer...
probably not :)
I am very surprised that such capability is missing from php!
--
--
Ashes to ashes, DOS to DOS
ivoras @ fer.hr