Re: Session problem
| From: | Richard Davey | Date: | Wed, 24 Mar 2004 14:53:03 +0000 |
| Subject: | Re: Session problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-181378@lists.php.net to get a copy of this message | ||
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