Page 1 of 1

Session Timeout

Posted: Thu Mar 09, 2006 11:54 pm
by axelseaa
Our default php session time is 3 hours

Code: Select all

session.cache_expire = 180
However, we had a user complain that his session timeout after spending about an hour entering a post. Does serendipity handle this somewhere internally?

Re: Session Timeout

Posted: Fri Mar 10, 2006 10:36 am
by garvinhicking
Serendipity does not set any session related timings and totally depends on the PHP configured limit. We only use session_start() and no other session options...

Best regards,
Garvin

lost posting

Posted: Fri Mar 10, 2006 12:01 pm
by d_cee
Hi Garvin

I've had this same problem too. I've spent an hour or so entering a post and when I've gone to save it I got a message saying I'd entered a wrong user name or password. I found myself back at the log in page and lost all my hour's post.

Dave

Re: lost posting

Posted: Fri Mar 10, 2006 12:29 pm
by garvinhicking
Sadly, this is a problem hard to bypass with Serendipity or any PHP application.

Jay Bertrandt is working on an auto-save plugin which can autosave what you entered.

I can only give a tip to occasionally save long entrys in draft. You also do that when writing up longer word files, don't you? So you should apply that in a web-context as well: Save early, save often.

Once you are having the password problem, a little trick helps that works in mostly all web applications: When you get the mesage "Invalid username", Open another browser window or tab, login there, then go back to the original browser window and hit F5/Reload to re-post your entry which is still in the browser's cache.

Also, enabled the "Remember me" login functionality ensures that you can never loose a session!

Regards,
Garvin

Re: lost posting

Posted: Fri Mar 10, 2006 12:42 pm
by d_cee
Hi Garvin
garvinhicking wrote: I can only give a tip to occasionally save long entrys in draft. You also do that when writing up longer word files, don't you? So you should apply that in a web-context as well: Save early, save often.
I wish I was that organised. I've lost count of the number of times I've lost work through not saving as I go along :oops:

Dave