Re: SESSION EXPIRATION QUESTION
| From: | JJ Harrison | Date: | Sun, 25 May 2003 06:41:30 +0000 |
| Subject: | Re: SESSION EXPIRATION QUESTION | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148897@lists.php.net to get a copy of this message | ||
You could also just change the value of session timeout with the ini_set ()
function. http://au2.php.net/manual/en/function.ini-set.php
Go to http://au2.php.net/manual/en/ref.session.php
to find the values you
need to change. (I think session.gc_maxlifetime is it).
--
---
JJ Harrison
lizner2002@yahoo.com.au
"Dale" <DaleHersh@hotmail.com> wrote in message
news:20030525023836.24573.qmail@pb1.pair.com...
> Hi,
> I am still new to php so bare with me. I currently have a management
console
> that requires the user to log into. I was wondering how I could write some
> code that would end the session after a certain amount of time. Thus, if
the
> user leaves the window open by mistake, I don't have to worry about a
> foreign user making changes.
>
> Thanks,
> Dale
>
>