Session Timeout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-01-2017 03:39 PM
What defines a users session timeout? Is it inactivity on the server side, or client side? If the session timeout is 15 minutes, and it takes me 20 minutes to fill in a Catalog item request, should I be timed out? This seems to be the case. Does anyone know the specific definition of inactivity for the user session timeout? Thanks a lot

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-01-2017 03:46 PM
Hi James,
There is one system property glide.ui.session_timeout which has value 15 minutes normally, so whenever there is inactivity in application it log's out the user if Remember Me is not checked.Check below article for more info.
http://wiki.servicenow.com/index.php?title=Modifying_Session_Timeout#gsc.tab=0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-01-2017 04:02 PM
Yes understood Bharath, but what defines "inactivity"? What is inactivity? If I am filling out a long form that doesn't trigger any scripts and it takes me 2 hours, should I be timing out?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-02-2017 11:45 PM
Inactivity is when there is no kind of action from user (Idle). Ajax calls to server keep session alive e.g refreshing homepages. If you are filling a form for 2 hours i.e you are making some changes and it is not considered as idle. While filling form if you are idle for more than 30 min and glide.ui.session_timeout is set to 30 min and Remember Me is not checked or no refresh home pages then you will be timed out. Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2017 12:04 AM
Hi James,
As per my knowledge and experience, activity is always counted if there is any update in the server side or you call any server side code. In short, if you do not interact with the server side it defines inactivity. I might be wrong or some sort of. If so, I also would like to request other to correct me.
In your case, when you are typing to fill out the form, in general, it will consider inactivity as there is no server side interaction happens. Lets say there is a Data/Time field in the form. On change of the field the validation is configured not to take past date and this validation is done in the onChange Client Script using GlideAJAX. That says the client script calls any Script Include (a server side script) to validate the requirement. In this kind of scenarios, you are filling the form and again at the same time the server side code is executed/called. So for such kind of scenarios, it will be considered as activity.
I hope this helps.Please mark correct/helpful based on impact