Page 1 of 1

user still logged in after browser closed

Posted: Tue Jan 09, 2018 10:23 pm
by sticcino

Hi,

we just noticed, that if a user is logged in, and they close the browser and restart it that the session is still active and the user is still logged in ?

it appears the session is not destroyed when the browser is closed.


Re: user still logged in after browser closed

Posted: Wed Jan 10, 2018 11:29 am
by arbei

No, it won't. Have you enabled "remember me" when you log in?


Re: user still logged in after browser closed

Posted: Thu Jan 11, 2018 2:47 am
by sticcino

i don't have that option even visible on the login screen.

I'll try clearing out my temp directory and cache


Re: user still logged in after browser closed

Posted: Fri Jan 19, 2018 4:45 pm
by mobhar

sticcino wrote:
it appears the session is not destroyed when the browser is closed.

Indeed. That's why there is a EW_USER_PROFILE_SESSION_TIMEOUT constant in the generated "ewcfg*.php" file. You may simply adjust the value of this constant, so that for such case, the session will be destroyed after that timeout value is exceeded. Please correct me if I'm wrong.


Re: user still logged in after browser closed

Posted: Sun Jan 21, 2018 6:43 am
by sangnandar

If you enabled "Remember me" (Security Tab -> Login Option) the SESSION is still there after browser closed.
The SESSION, then, destroyed after session timeout.
To adjust session timeout value:
Security Tab -> Advanced button -> User Login Options -> Login -> Login status timeout (minutes)
This is for concurrent login.

Session timeout is on:
Tools -> Advanced Settings -> Session timeout period (minutes)
You should also have to set session keep alive interval larger than 0. Refer to help file for more details.

These settings also goes to cookie. Try to clear your browser cookie if things didn't work as expected.