Extending server session time on RZ
Okay, I actually posted about this here, ages ago:
http://forum.ragezone.com/f10/session-timeouts-67884/
But yeah never got an answer then, maybe someone knows though...
The issue is, my session length on RZ seems to be about 5 mins only, which I will exceed if I am writing a big post, or researching something before I answer, searching half a million files on my drives to find something, etc - and when I finally click Submit it just tells me 'invalid thread specified' (which now that we come to it, is poor error handling since it should actually say session timed out). What I'm trying to do is see if there is an option to keep myself logged in for longer. The primary casualties of this problem are both lost posts (usually the really long ones), and losing 'new posts since your last visit' information, which sucks big time. :sad:
NOTE:
- Cookies are not relevant, they can re-log me in but not correct the post-submit-after-5mins issue.
- There is no option for this available in the User CP, at least not for regular users.
- If there is a page on RZ that refreshes every couple of minutes or so, then it would be enough to have that open to keep me logged in.
- Yes, I know I can easily make such a page to do this, but I'm sure I'm not the only one having this issue and also it's not 'polite' to automatically add load to a host if there's a natively supported solution.
Anyone able to offer any information or advice? :huh: Thanks :thumb:
Re: Extending server session time on RZ
Doing this for now:
Code:
<html>
<head>
<title>Auto-reloader for RZ</title>
<script language="Javascript" type="text/javascript">
setTimeout("top.location.reload()", 60000);
var secs = 60;
setInterval("timer.innerHTML = 'Refreshing in '+secs+' seconds...'; secs--;", 1000);
</script>
</head>
<body>
<p id="timer"><br></p><br>
<iframe width="750px" height="750px" src="http://forum.ragezone.com/faq.php">
</iframe>
</body>
</html>
Re: Extending server session time on RZ
Yes, you can run a script that will refresh each 1 minute and load a page on RZ, but you can also turn on "Remember Me". I never had this problem. It logs me in automatically, even after 5 min.
Re: Extending server session time on RZ
Quote:
Originally Posted by
Daevius
Yes, you can run a script that will refresh each 1 minute and load a page on RZ, but you can also turn on "Remember Me". I never had this problem. It logs me in automatically, even after 5 min.
'Remember Me' only changes whether your cookie is a session or lifetime cookie, it doesn't affect your session timeout (after which your cookie would log you back in, but with lost information such as posts since your last visit and the post you just tried to submit).
On a side note... a little while back I had to hard-reboot my computer from the 'welcome' screen (logon switching - I was still logged in) when I had a new post window up and at least several hundred words typed, including several links etc... and when I restarted, logged in, booted FireFox... it was all restored including the post text :biggrin: Fukn cool, that was.
Re: Extending server session time on RZ
ive been logged in for days at a time before. never had this issue
Re: Extending server session time on RZ
Logged in for days... so if there was something posted 24hrs ago that you hadn't actually viewed, it would show as 'new' still? Cause if the answer to that isn't a 'yes', then your idea of 'staying logged in' is different from mine...
'Staying logged in' =/= 'having your password automatically re-submitted to re-log you in after session timeout' :unsure:
Re: Extending server session time on RZ
I think this is more a browser problem than a server problem, because if it would be a server problem everyone would have the problem. Which isn't so. Have you tried with different browsers?
Re: Extending server session time on RZ
Quote:
Originally Posted by
Pieman
I think this is more a browser problem than a server problem, because if it would be a server problem everyone would have the problem. Which isn't so. Have you tried with different browsers?
It's not a client issue... unless there is a different 'session valid for'-type value being offered by firefox than would be offered by another browser (assuming, probably incorrectly, that the server would obey such a value provided by the client).. To test, write a post reply to this thread (in advanced mode, not in the quick-reply box), leave it ready to post (don't click Submit Reply), go afk and do something else for 10 mins, or just go to other sites (I can recommend LOLCATS.COM - Funny Lolcat Pictures and Drew Curtis' FARK.com) for a bit, leaving the RZ windows untouched for at least 10 minutes (it might be 15), then after that come back and hit Submit Reply, see if it works or if it gives the Invalid Link error, if you would like to try and recreate the problem. :doh:
Re: Extending server session time on RZ
well about this / your issue, i can really say that i do what you consider a problem all the time.
I get to work read all relevant to my interests threads and then just leave the window there. if i come back in like one hour or so i can still press anywhere and yes in the meantime if a post has been made it will be highlighted as new
Re: Extending server session time on RZ
Ive been logged in since i signed up, no problems at aLL.
Re: Extending server session time on RZ
Quote:
Originally Posted by
TriumpH
well about this / your issue, i can really say that i do what you consider a problem all the time.
I get to work read all relevant to my interests threads and then just leave the window there. if i come back in like one hour or so i can still press anywhere and yes in the meantime if a post has been made it will be highlighted as new
Yes, anything that was posted after your first session started would show as new still. But anything posted before then, that you hadn't yet seen, would be marked as 'read', because you had 'logged out' (session timed out) then logged back in.
Anyway fahgeddaboudit, I'm just going to use the manual solution since it seems no-one has an answer (and it is probably only changeable as a global setting which would affect performance). :redface:
Re: Extending server session time on RZ
Quote:
Originally Posted by
Initiate
Ive been logged in since i signed up, no problems at aLL.
You don't get it AT ALL do you? Also, I think it isn't even changeable in the admincp.
Re: Extending server session time on RZ
Quote:
Originally Posted by
Pieman
You don't get it AT ALL do you? Also, I think it isn't even changeable in the admincp.
Thanks for the first response reflecting an understanding of the issue. (It's not an RZ bug per se, just that my browsing behaviour doesn't fit well in the limits the RZ server places on users - I regularly spend a long time on a debate post, or get distracted on other sites when looking for a particular pic, or looking up a word, or something like that... then come back to errors and 'no new posts').
No drama, my auto refreshy page seems to work great :thumb: And I made sure I chose a page with minimal database queries and content etc so shouldn't be affecting performance at all ;)
Re: Extending server session time on RZ
Quote:
Originally Posted by
Pieman
You don't get it AT ALL do you? Also, I think it isn't even changeable in the admincp.
shh, i pressed caps lock by accident lol
Re: Extending server session time on RZ
Great Script I hate that Problem, its so annoying when typing up posts such as Releases and stuff, and you have this 1,000 word Description, then you loose it :P At least Ive learnt to type up my Posts in Notepad first now.
Thanks,
MatthewRulz!