--- Manisha Sathe <[EMAIL PROTECTED]> 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php