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
Pushpinder


Increase 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

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



Reply via email to