Page 1 of 2

Forum's Auto Log off

Posted: 2010-02-15 23:39
by bazza_1964
This is getting annoying....

I just spent several MINUTES ( not even 20 ), attempting to post a response in a forum, and thanks to SOME setting here, the forums auto log off tendencies have erased everything I wrote( YOU CANNOT POST BECAUSE YOU ARE NOT LOGGED IN)'

Am I missing something? Is this a setting I'm supposed to change on my end? Or is it something that just Twitters?


bazza, annoyed.

Re: Forum's Auto Log off

Posted: 2010-02-15 23:48
by CodeRedFox
It happens to me as well :-P I asked Gaz about it and he didnt set anything up. I figured it was firefox or some addon doing it.

Re: Forum's Auto Log off

Posted: 2010-02-15 23:51
by Lemon
I always copy paste my 'long text' into a word document or note pad document. That way, if it all crashes you dont have to rewrite it.

Re: Forum's Auto Log off

Posted: 2010-02-15 23:55
by bazza_1964
Yeah, duly noted...I am on Firefox, and I usually do copy and paste long ones, lol. Was just "riffing away" for a few minutes, didn't plan on it becoming an essay. Oh well! :mrgreen:

thanks guys,

bazza

Re: Forum's Auto Log off

Posted: 2010-02-15 23:56
by Shaihuluid
bazza_1964 wrote:This is getting annoying....

I just spent several MINUTES ( not even 20 ), attempting to post a response in a forum, and thanks to SOME setting here, the forums auto log off tendencies have erased everything I wrote( YOU CANNOT POST BECAUSE YOU ARE NOT LOGGED IN)'

Am I missing something? Is this a setting I'm supposed to change on my end? Or is it something that just SUCKS?


bazza, annoyed.
yeah, it's irritating. :hissyfit:

But it's also quite helpfull 8) just copy-and-paste, and you'll have good security. besides of which, if you enter your username/password correctly when ask, your message will still get posted

Re: Forum's Auto Log off

Posted: 2010-02-16 00:02
by gazzthompson
im on firefox and have it so it saves passwords, yet if i refresh after 10mins im logged out -_-

Re: Forum's Auto Log off

Posted: 2010-02-16 00:05
by Vege
Default PHP session timeout is 24mins, that can come up pretty fast.
vBulletin <3.5 default is 15mins according to wikipedia.

Re: Forum's Auto Log off

Posted: 2010-02-16 00:08
by CodeRedFox
For me its been a recent change.

Re: Forum's Auto Log off

Posted: 2010-02-16 00:47
by BloodBane611
I was having a problem with firefox logging me out, but i made some changes and now it's fine.

I think I changed my privacy settings by customizing what firefox clears on shutdown. I set it to just clear the cache. I know I changed something else to do with cookies as well, can't remember what though.

Re: Forum's Auto Log off

Posted: 2010-02-16 06:18
by AfterDune
Never have any problems... I never have to login to the site :p . Perhaps it's the FF session manager keeping things alive, I don't know. Even if I've been away for three weeks, I'm still logged in (I do tick that "remember me" thingy, so maybe that's it...).

Re: Forum's Auto Log off

Posted: 2010-02-16 06:40
by RedAlertSF
I'm always logged in too. I've never had any problems with this.

CTRL + SHIFT + T brings back your previous page with all the text you had written in it (at least on Firefox). Although I'm not sure if it will help in this issue.

Re: Forum's Auto Log off

Posted: 2010-02-16 06:53
by AfterDune
CTRL+SHIFT+T reopens a closed tab for me :p
(Tab Mix Plus is awesome!)

Re: Forum's Auto Log off

Posted: 2010-02-16 06:57
by DankE_SPB
clear cookies and then login, will solve the problem ;-)

Re: Forum's Auto Log off

Posted: 2010-02-16 07:27
by alberto_di_gio
me haves Firefox... me haves no problems :)

Re: Forum's Auto Log off

Posted: 2010-02-16 07:34
by Artnez
Clearing your cookies doesn't solve the problem. Also has nothing to do with firefox.

This is a setting in the PHP configuration file (php.ini) called session.cookie_lifetime and session.gc_maxlifetime. By default, it's set to 20 minutes.

By default, session.cookie_lifetime should be set to 0. This means that your session cookie will expire only when you close your web browser (this doesn't apply if you check "Remember Me" when you login). I confirmed this by looking at my cookie expiry dates.

session.gc_maxlifetime is what's causing the problem here. "gc" stands for garbage collection, and what it's basically doing is deleting all inactive sessions every X amount of seconds. Increasing this number will ensure that the lifetime of a session lasts longer than 20 minutes.

The reason some of you are unaffected by this is you check the "Remember Me" option when you login.

Re: Forum's Auto Log off

Posted: 2010-02-16 08:37
by Vege
Artnez wrote:Clearing your cookies doesn't solve the problem. Also has nothing to do with firefox.

This is a setting in the PHP configuration file (php.ini) called session.cookie_lifetime and session.gc_maxlifetime. By default, it's set to 20 minutes.

By default, session.cookie_lifetime should be set to 0. This means that your session cookie will expire only when you close your web browser (this doesn't apply if you check "Remember Me" when you login). I confirmed this by looking at my cookie expiry dates.

session.gc_maxlifetime is what's causing the problem here. "gc" stands for garbage collection, and what it's basically doing is deleting all inactive sessions every X amount of seconds. Increasing this number will ensure that the lifetime of a session lasts longer than 20 minutes.

The reason some of you are unaffected by this is you check the "Remember Me" option when you login.
The default is still 24 Min and vBulleting uses cookies only for it's own login handler if im not mistaken.
PHP: Runtime Configuration - Manual

Re: Forum's Auto Log off

Posted: 2010-02-16 08:39
by Rhino
I'm on FF and I have no problems. Try cleaning your cookies out and starting from scratch :)

Re: Forum's Auto Log off

Posted: 2010-02-16 08:45
by Outlawz7
I'm on FF and have been getting logged out ever since I joined the forums, but don't care; if you post something and it logs you out when you click 'post', just login again and continue.

Re: Forum's Auto Log off

Posted: 2010-02-16 08:50
by epoch
Had this a few weeks ago in Firefox. Cookie clean worked for me too ......

Re: Forum's Auto Log off

Posted: 2010-02-16 09:13
by killonsight95
i hav't had this problem myself i dunno whats wrong xD