timeout?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
abaker
Posts: 3
Joined: Fri Apr 08, 2005 3:44 pm

timeout?

Post by abaker »

I'm currently using version 0.8 beta 5. Earlier this morning I was creating an entry and got interrupted before I could finish the entry. When I went to finish the entry and publish it (probably an hour after I started it), I was informed that I was no longer logged in. Thankfully I had a copy of the entry on my clipboard still so it wasn't a total loss.

Is there any way to lengthen the timeout, or get rid of it?

Thanks in advance.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: timeout?

Post by garvinhicking »

This is the standard PHP session timeout and independent from Serendipity. You can set it via php.ini or .htaccess directive.

ini_set("session.gc_maxlifetime","14400");
resp.
php_value session.gc_maxlifetime 14400

The value is the amount of seconds that can pass by.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply