Re: Session time-out value
| From: | Pushpinder Singh | Date: | Fri, 23 Jan 2004 16:29:32 +0000 |
| Subject: | Re: Session time-out value | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-175524@lists.php.net to get a copy of this message | ||
Thanks John,
I dont have rights t change this value for my webserver. I only want this value to be changed for my application. Is there a way to take care of this ? Thanks again !!
Pushpinder
On Friday, January 23, 2004, at 11:28 AM, John Nichel wrote:
Pushpinder Singh wrote:Hello All, I am using php and Mysql in my application. The problem is that the system automatically logs the user out of the system after 24 minutes. I would like to extend the session lifetime to about 2-3 hrs. I know there is a way to do it using a .htaccess file kept in the same folder as the application. Does anyone know how this is done ?? Thanks in advance PushpinderIncrease session.gc_maxlifetime in your php.ini file, and restart your webserver. -- By-Tor.com It's all about the Rush http://www.by-tor.com