You will not be logged out by [glide.ui.session_timeout].

bonsai
Mega Sage

I have set a value for [glide.ui.session_timeout] but I am not being logged out.

 

Does this function depend on the time the session was created?

For some reason, the session is recreated, so I feel like I'm never logged out.

 

sesson_1.JPG

 

↓If you refresh the screen after a few minutes the session will appear to be recreated.

sesson_2.JPG

3 REPLIES 3

GlideFather
Tera Patron

Hi, can you check the property what value does it hold?

I think ootb it is 240 (4 hours), so you would have to wait 240 minutes and then refresh the screen, if you do it within the 240 hours, it will start running from 0:00...

If you want to be sure, I can see that you are testing with an admin account, create a new user or set a password for existing one if it is PDI and then log in, keep the window for example in incognito or unused browser, and then check it after the value from your property... it can be even less, depending on the value.

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


Ankur Bawiskar
Tera Patron
Tera Patron

@bonsai 

try to test like this

1) set the property to 1min

2) do nothing (no clicks, no refresh or any background activity)

3) wait for that period plus some buffer like 2-3 mins

4) then try to interact (click a link) and you should be asked to login gain

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

shun6
Giga Sage

Hi @bonsai,

If your account have no activities on your instance you will be loggd out by [glide.ui.session_timeout].

On the other hand, if your account have any activities (ex, refreshing the screen, updating record) last accessed time is updated and your session is not expired. 

If my answer was helpful, please click the Thumb Icon and mark it as the solution. This way, it can assist others in the future.

Thanks.