orsino Posted January 17, 2013 Share Posted January 17, 2013 on my game i have set the log out time to 10 but its not logging me out even when i am offline for more than a hour ? Quote Link to comment Share on other sites More sharing options...
gmoore Posted January 17, 2013 Share Posted January 17, 2013 It seems to work perfect for me. Do you have the module enabled/installed? Recheck the setting and resave. I have it set to 30 minutes and I've tested to 29min and 32-ish minutes. Greg Quote Link to comment Share on other sites More sharing options...
orsino Posted January 17, 2013 Author Share Posted January 17, 2013 i ha now disabled and enabled again and set to 5 min lets see what it will do also everything is the newest version Quote Link to comment Share on other sites More sharing options...
Someone Posted January 17, 2013 Share Posted January 17, 2013 (edited) Actually I have this problem as well, thought I just had reversed some setting. But the setting was set at 60 min in the settings, when I went to check, but get logged out every 20. I just Admin Panel > Install / Update a single module Could be worth a try for you as well Edit: or as you did, think enable/disable does the same thing Edited January 17, 2013 by Someone Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted January 17, 2013 Share Posted January 17, 2013 I will check it tomorrow. BTW The auto-logout doesn't kill the session it simply should show the player as offline after a given time. Quote Link to comment Share on other sites More sharing options...
Someone Posted January 17, 2013 Share Posted January 17, 2013 Then my last post is invalid. How do we set how long until you need to re-login? Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted January 17, 2013 Share Posted January 17, 2013 that's the PHP setting of the session validity as well as the line in the index.php: if (! isset($_SESSION['last_check']) || (time() - $_SESSION['last_check'] > 1800)) We could make that yet another config key if you think it's needed. Quote Link to comment Share on other sites More sharing options...
Someone Posted January 17, 2013 Share Posted January 17, 2013 Configuration key: autoLogoutTime Time it takes to logout somebody automatically (not counting the session cleanup) (in min). ^ Is the admin panel setting description found it, 1800 makes sense on live sites I think. Ill just set it manually on dev version, guess it would be good for some to have a setting though. Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted January 17, 2013 Share Posted January 17, 2013 this key is to show somebody offline not the actually kick off. Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted January 17, 2013 Share Posted January 17, 2013 Configuration key: autoLogoutTime Time it takes to logout somebody automatically (not counting the session cleanup) (in min). ^ Is the admin panel setting description found it, 1800 makes sense on live sites I think. Ill just set it manually on dev version, guess it would be good for some to have a setting though. Well here is my thought: Yeah, you probably wan users the stay logged in for as long as possible just incase they want to grub real quick or whatever so 1800 is I think sufficient for that but take into affect some game rules you have or may have for example which is a major pain in the a** for most game staff is the whiney babies about online attacks. Some games either dont allow online attacks, maybe add an attack limit for online hits per hour or whatever, or its fair game. So take into consideration that or your mailbox may be flooded with complaints. But there are some ways to offset that. For no online attacks or a limiter: For starting out with low player base maybe set the limit to 900 secs and increment it up as you gain more players. I hope that shows some insight on it because trust me if you havent already staffed/owned a game this is the biggest complaint ever and you will never make every happy with whatever decision you make on that topic. So what all this boils down to is maybe make a key in the xml and kill the session so it can easily be changed unless you leave it fair game for all then who cares right? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.