LCWO Discussion Forum
This is a simple discussion forum for LCWO users. Feel free to use it for any kind of discussion related to this website.
Thread: logout timer?
Back to the Forum
Posted: 2010-09-29 20:46
First of all,
Big, big thanks for providing such an excellent
CW learning tool! I am currently at lesson 31,
Koch method at 20 wpm /10 wpm effective. Been
working at it for months now. I'm getting very
close to having the whole symbol set learned,
after which I will work toward higher effective
I have a question - it seems that I get
logged out fairly quickly after a period of
inactivity. I try to do a 5 minute lesson several
times a day. Just today I have just gone to
finish a run and press "check result" only to
find out I have been logged out. This happened
twice today already. Is there such a logout timer,
how long is it and is there a way to increase it?
73, Ilkka kf7ldx
Posted: 2010-09-29 21:17
there is a maximum lifetime of the session, but it is set to 43200 seconds, i.e. 12 hours. I remember there were some problems with this before, when my hosting company changed this setting without any notice, but as far as I can see it is at 12h now.
Edit: To clarify things, note that the timeout is always counted from the moment of your last activity on the site, not from the initial login.
A session may be ended/destroyed early if the User Agent or the IP address of the client changes. If you're on some kind of dialup, the latter might be the case?
The user agent/IP limitation is actually a relict from the times when a session cookie was not required (instead, one could have the session ID appended to the URL to be identified [like http://lcwo.net/?PHPSESSID=a1d0c6e83f027327d8461063f4ac58a6). This sometimes led to problems when someone sent a link like that to someone else, just to find that the other person was logged in as him, and could hijack the account :-)
If the session is ended because of a IP/User Agent change, it's indicated at the bottom of the page, saying "Destroyed".
If you're logged out again, please check for the "Destroyed" message.
Anyone else having problems with terminated sessions?
Posted: 2010-09-29 22:40
Sure. After announcement of 12 hour time out some time ago, I found out that after finishing a run "I have to be logged in".
Solved the problem by logging in on 2 tabs, and using one of them to go home.
Is it not possible to answer your question with logbook data?
Posted: 2010-10-08 00:26
Here's a new clue to the puzzle. I just noticed
I was logged out (it is just a bit past 3pm
Pacific time (UTC-8). My last activity was at
10am so the 12 hour logout timer should not
have become active.
Is it possible that LCWO logs everyone out
automatically at midnight your (Fabian)
local time? I assume you are UTC+1, I am UTC-8, which means that 3pm my local time is midnight
your time. I can easily see how a day change
could mess up logout timer calculations...
Posted: 2010-10-08 01:27
Something is definitely not working as expected, I am on from either Debian or Ubuntu systems using Firefox for most of the day and am always being prompted to log in again.
Posted: 2010-10-12 12:53
At present I am logged out after a lunch break and it was not at midnight.
Solution: Log in at two tabs of your browser, put one at home page and the other at your exercising page.
After an extended pause switch to the home page tab and refresh it. When it turns out that you have to login again: do it.
The other tab is than also logged in (again) and your exercise can be finished in the regular way.
Posted: 2010-10-16 10:23
OK, I guess I'll have to investigate this again. Maybe some different settings (on the server side) that have been changed without my knowledge.
I may finally set an (optional) permanent cookie on the user's browser, so he'll be permanently logged in, regardless of the "sessions" that run on the server with a limited life-time.
Back to the Forum
You must be logged in to post a message.
$Id: forum.php 62 2015-01-12 17:34:44Z fabian $