Re: want to restart session after time out
| From: | Chris Shiflett | Date: | Thu, 09 Oct 2003 05:08:55 +0000 |
| Subject: | Re: want to restart session after time out | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165572@lists.php.net to get a copy of this message | ||
--- Manisha Sathe <manisha@starhub.net.sg> wrote:
> I want to make use of sessions. Very new to this part. I read a lot
> about it. Now know how to register / start etc.
>
> I understand that session terminates after time out (specified in
> php.ini file e.g 30 mins). But I do not want session to be
> terminated like this. I want to terminate session only if user
> closes the browser or clicks 'LogOut' button. After 30 mins I still
> want to keep all session values as it is.
Please read this:
www.php.net/sessions
Pay special attention to Table 1, Session configuration options. These settings
are also each explained in detail.
Hope that helps.
Chris
=====
My Blog
http://shiflett.org/
HTTP Developer's Handbook
http://httphandbook.org/
RAMP Training Courses
http://www.nyphp.org/ramp