Never session out for a user

HarshTimes
Tera Guru

I have a requirement that if a user with userid - "userId.123" logs in servicenow , HIs/her session should never finish. He/she should never be logout.

Note: this is require to set for a single user not for all.Anyone have any idea how I can do that?

9 REPLIES 9

Hi Harsh,



If you look at the details provided at the wiki link Modifying Session Timeout - ServiceNow Wiki , it mentions the following:



Note: Users who select the Remember me checkbox will never timeout and are unaffected by session timeout properties.



It pretty much works for me. Let me know if this works for you as well.



PS: Mark this answer as Correct if it solved your query or hit Like/Helpful depending upon the usefulness of the response.



Regards,
Supriya Bisht


We don't have remember me button on login page. Is it possible to set it via script for that user?



Try setting it from User Administration > User Preferences.



Add/update the system property glide.ui.remember.me.default as true for whichever user account you are trying to set as never timeout.



find_real_file.png



Let me know if this works.



PS: Mark this answer as Correct if it solved your query or hit Like/Helpful depending upon the usefulness of the response.



Regards,
Supriya Bisht


Hi Supriya


system property glide.ui.remember.me.default is already set to true.


you are talking about the system property and your screenshot is user preference.Which one you are talking about?i have tried both options but none of them are working.



-Harsh


Hi Harsh,



You have to create a User Preference record for the required user using the glide.ui.remember.me.default property.


You don't have to make any changes to the system property. Just follow the below steps:



1) From the Navigation Menu, go to User Administration > User Preferences


2) Click New


3) Populate the fields with respective values:


        Name: glide.ui.remember.me.default


        Type: string


        Value: true


        User: <username for whichever user you are trying to set the the never session out property)


find_real_file.png


4) Click on Submit.



The above should solve your purpose. Let me know if you have any further queries.



PS: Mark this answer as Correct if it solved your query or hit Like/Helpful depending upon the usefulness of the response.



Regards,
Supriya Bisht