We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

session refresh token automatically.

eyal abu hamad
Mega Sage

I'm searching for a way to refresh session token for specific user.
the glide.ui.session_timeout in my instance is set to 30 min. I want it to be 30 min but there is one user I want to exclude to never logout.
is that possible to do with schedule job and catch the user activity or something like that ?

2 REPLIES 2

Dr Atul G- LNG
Tera Patron

Hi @eyal abu hamad 

 

It is not a best practice to exclude specific user in this case and also my knowledge say it is not possible. 

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG

****************************************************************************************************************

Robbie
Kilo Patron

Hi @eyal abu hamad,

 

This is an interesting question so I naturally had to have a quick dig and research. I found this on the community where someone else too had the same question ('Managing User Sessions - Different Session TImeout Times for Different Groups/Roles') - Link also provided below.

 

Please circle back and let me know if Michael's script works... it's an interesting thought process. I'm going to have a play as well.

 

To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Helpful.

 

Thanks, Robbie

 

Link https://www.servicenow.com/community/now-platform-forum/managing-user-sessions-different-session-tim...