Topic: [Solved] users are being logged out after 30 seconds of inactivity

I've got some unhappy users at the moment.
I upgraded to 1.3.4 yesterday and my users have been complaining since then that they are being logged out after a very short period of inactivity.

Any tips please?
Thanks
Mark
p.s. this is not affecting me as an admin

Re: [Solved] users are being logged out after 30 seconds of inactivity

in settings > setup   

the default seems to be 300 seconds before users are logged out... see if it improves if you change it to 3000....

Re: [Solved] users are being logged out after 30 seconds of inactivity

settings > setup doesn't have any option for logging people out.

My users are typing replies in the reply box but when they click submit they find they've been logged out completely and their post is lost.

This is not good at all
Any further tips please?
ThankS
Mark

4

Re: [Solved] users are being logged out after 30 seconds of inactivity

do you have any mods installed? The default install has the option and it does appear in settings>setup.

Re: [Solved] users are being logged out after 30 seconds of inactivity

visit timeout 180
online timeout 179
redirect wait 0

Those are the only time related entries in the setup page. There is nothing relating to logging out after x seconds.

Re: [Solved] users are being logged out after 30 seconds of inactivity

default is

1800
300

your visit timeout is much much too small

Re: [Solved] users are being logged out after 30 seconds of inactivity

But those figures have nothing to do with logging people out. People are being logged out and they have to enter their user/pass again.

Will try that though smile

8

Re: [Solved] users are being logged out after 30 seconds of inactivity

Well, the first one figure does (despite it's stupid description)  wink

Eraversum - scifi browser-based online webgame

Re: [Solved] users are being logged out after 30 seconds of inactivity

That seems to have fixed it woop woop!!
But people stay logged for days and days and days so that means none of those options relate to logging people out.... but my problem is apparently fixed so obviously it DOES relate somehow !?

10

Re: [Solved] users are being logged out after 30 seconds of inactivity

They could used "Remember me" function when logging  wink

Eraversum - scifi browser-based online webgame

Re: [Solved] users are being logged out after 30 seconds of inactivity

They know all about that and I'm certain they are using.
I never had any cookie/logging out problems with 1.2 but have had lots of timing out issues with 1.3. Ah well I think it's back under control now.

Thanks smile

12

Re: [Solved] users are being logged out after 30 seconds of inactivity

Well, as I am looking on the code I believe they weren't - default value (and you can't change it) for "remember me" is 14 days, so if (from some very strange reason) it wouldn't work with this it wouldn't have changed by editing timeout visit :-)

$expire = ($save_pass) ? time() + 1209600 : time() + $forum_config['o_timeout_visit'];

But anyway, the main thing is that it's working properly now  wink

Eraversum - scifi browser-based online webgame

Re: [Solved] users are being logged out after 30 seconds of inactivity

Cheers Grez and KEydog smile