Hello Carlos,

Wednesday, March 24, 2004, 2:52:16 PM, you wrote:

cc> I want to know how can i do to make the session dont expire?. i have an
cc> application that works with sessions, when i left the browser open for a
cc> while, i dont know maybe 30 minutes, when i try to go into a section it
cc> throw me an error, for session expire, how can i fic that?.

You can control the default lifespan of your session by modifying your
php.ini file (look for the Session section, specifically
session.gc_maxlifetime).

You could also modify this via ini_set().

-- 
Best regards,
 Richard Davey
 http://www.phpcommunity.org/wiki/296.html

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

Reply via email to