Re: [PHP] SESSION expiry time setting

2005-11-18 Thread Chris Shiflett

Angelo Zanetti wrote:

I've been searching for where the time is set for a session to
expire but had little luck.


I think you might be looking for the session.gc_* directives. These 
control the session mechanism's garbage collection.


Hope that helps.

Chris

--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] SESSION expiry time setting

2005-11-18 Thread David Grant
Hi Angelo,

You might want:

session.cookie_lifetime = 

Obviously this only has an effect if the session.use_cookies directive
is set to "1".

Cheers,

David Grant

Angelo Zanetti wrote:
> Hi guys.
> 
> I've been searching for where the time is set for a session to expire
> but had little luck.
> 
> in the PHP.ini file I found:
> 
> session.cache_expire
> 
> which specifies the time in minutes but is this what sets the session to
> timeout once the setting time has been surpassed?
> 
> Or am I looking in the totally wrong direction??
> 
> thanks in advance.
> 
> Angelo
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] SESSION expiry time setting

2005-11-17 Thread Angelo Zanetti

Hi guys.

I've been searching for where the time is set for a session to expire 
but had little luck.


in the PHP.ini file I found:

session.cache_expire

which specifies the time in minutes but is this what sets the session to 
timeout once the setting time has been surpassed?


Or am I looking in the totally wrong direction??

thanks in advance.

Angelo

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php