Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted March 9, 20195 yr I'm a bit fed up with this. Is this a bug or can the automatic admin timeout be adjusted somewhere? When logged in to the admin cp, sometimes I can work and sometimes click on things for a bout 20 minutes or so. When not busy, I'm automatically logged out. So far so good. But sometimes I'm even getting logged out when busy with things. I was busy editting the custom.css to add fontawesome icons to my forum. I have 64 forumsparts on my forum so it took somem time to put them all in the custom.css but I was typing in it. Then I clicked the save button, and.... yes thank you... got the login screen in front of me. Had a look at the custom.css and all changes were just gone. An hours work for nothing. I'm using other icons now, but why is the admin cp loggin me out when I'm working in it? Is there a way to disable this or change the auto logout time for the admincp?
March 9, 20195 yr Author Yeah lol.... Shouldn't be needed. I also make a lot of use of it, just not this time... did not expect this to happen, and even when... you expect to get on the same page with the entere code when the session is saved correctly, right?
March 9, 20195 yr The ACP session is kept open on the server side. While you are typing away on the client side, the server is oblivious to that fact. If you spend 20 minutes typing loads of stuff in the front-end, but the ACP is going to time out after (example) 15 minutes then you are going to get logged out. You've learned the lesson - if you are going to be editing css, be prepared. Same goes for areas that involve the text editor.. But if you are clicking around and changing pages....server is aware of that because it is responding to your action. Hence why I've always got a Notepad++ session open 😉
March 9, 20195 yr Author Yep thanks, as said I normally also have a notepad session open to do things. Normally I type that fast that the Admincp does not get the chance to close. I think the problem is also a bit that I'm used that the admincp kept open on my old forums. Could disable that via the Admincp or change the timeout via a hardcoded file change. Any way I can disable the auto logout? Or adjust the timeout to a longer period (for example 30 minutes or an hour)?
March 11, 20195 yr We rely on the php.ini-defined session controls, so you can adjust your php.ini to increase the session length. Note that this impacts front end sessions as well. http://php.net/manual/en/session.configuration.php#ini.session.gc-maxlifetime
March 11, 20195 yr Author Hmmz.... that's pity. In SMF I had some option that this would not happen. I rather don't change basic php.ini things as they work serverwide and I also don't want to change the front end sessions. Then we leave it alone. Thank you.
Archived
This topic is now archived and is closed to further replies.