Re: [PHP] Re: PHP SESSION timeouts

2003-09-03 Thread Marek Kilimajer
Maybe we don't understand each other. Catalin Trifu wrote: Hi, It does not. session.gc_maxlifetime states that PHP will consider that garbage, but it will not inform you it did so, No it will not inform you and there is no way it can inform you because the gc does not know how t

Re: [PHP] Re: PHP SESSION timeouts

2003-09-03 Thread Catalin Trifu
Hi, It does not. session.gc_maxlifetime states that PHP will consider that garbage, but it will not inform you it did so, neither does it terminate the session. Make an experimet if you want. set the "timeout" 5 minutes, go for a coffee and come back in 10 minutes. You'll have

Re: [PHP] Re: PHP SESSION timeouts

2003-09-03 Thread Marek Kilimajer
Let me corect you. Catalin Trifu wrote: Hi, No, there is not! You have to manage yourself the timeout, for instance through a timestamp, which you verify on each request. PHP does not destry sessions by itself. Yes, it does, check your session.gc_maxlifetime setting (gc stands for g

[PHP] Re: PHP SESSION timeouts

2003-08-31 Thread Catalin Trifu
Hi, No, there is not! You have to manage yourself the timeout, for instance through a timestamp, which you verify on each request. PHP does not destry sessions by itself. It's up to you to manage the "life" of a session. if($_SESSION['last_seen'] && ($_SESSION['last_seen'] < time(

[PHP] PHP SESSION timeouts

2003-08-30 Thread James Johnson
Hi, Can't find this in any of my books. Is there a default for when the $_SESSION array times out i.e., it's no longer available for the code? Thanks, James -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] session timeouts

2001-08-20 Thread speedboy
> I'm writing a web survey in php and trying to set session timeouts. I have > a main script that starts the session and displays the pages. Is there a > way I can make the session timeout if they idle for too long? Check the php.ini file, it has some settings to set the session timeout. Other t

RE: [PHP] session timeouts

2001-08-20 Thread Maxim Maletsky
as cookies do. read on php.net/sessions Cheers, Maxim Maletsky www.PHPBeginner.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 21, 2001 8:53 AM To: [EMAIL PROTECTED] Subject: [PHP] session timeouts Hi, I'm writing a web survey

[PHP] session timeouts

2001-08-20 Thread Nigel_Soon
Hi, I'm writing a web survey in php and trying to set session timeouts. I have a main script that starts the session and displays the pages. Is there a way I can make the session timeout if they idle for too long? Thanks, Nigel -- PHP General Mailing List (http://www.php.net/) To unsubscribe