Questions tagged [session-timeout]

A session timeout occurs when a unique application session (e.g. a web session) expires due to a time limitation placed on the session.

A session is a way of uniquely identifying an instance of usage of an application. This is often achieved by the assignation of a unique token, which the user must provide each time they invoke an operation within the application. In this way, sessions are one way of overcoming the stateless nature of HTTP requests.

A session may have an arbitrary expiry time associated with it. Once this expiry time has been reached, the session is no longer considered valid. Session expiries can either be fixed or sliding; a fixed expiry indicates a definite point in time at which the session becomes invalid, while a sliding expiry indicates the maximum amount of time between individual requests which is allowed to elapse before the session becomes invalid. In this manner, a sliding expiration may never timeout.

Session timeouts are not errors in themselves; they are valid states of a session which indicate that the session should not be used, and all requests which attempt to use the expired session should be treated as erroneous. However, faults may arise due to sessions timing out before they have expired, or sessions considered valid when they have passed their expiration time.

See also: Session (computer science), Session Management, HTTP Cookies

1287 questions
-2
votes
2 answers

Can i go logout page on inactivity

Please suggest me solution to go logout page on inactivity just like bank pages will do. After session timeout, app has to display login page to login to the application. I am using Spring acegi security. Your help is greatly appreciated. Thank you…
vishnu
  • 567
  • 3
  • 14
  • 34
-2
votes
1 answer

Session timeout Android

My android app has a main login screen and various screens which follow. I want to create a session timeout dialog which shows up when: 1) the user is on any page except the login page and 2) the user has not interacted with the application for 5…
quartz
  • 69
  • 2
  • 6
-2
votes
3 answers

No required "Session Timeout",

In my project session was only available for 30 minutes (Which is by default). BUT... I want to disable this kind of session timeout. Means I required unlimited time for session by which my website never get log-in process again.
Rajan Vachhani
  • 420
  • 3
  • 8
  • 17
-2
votes
1 answer

Prevent session timeout using javascript

I have write some javascript code in my application to prevent sessions timeouts for a specific type of user. The timeout is controlled by server. How shuld I do this?
-3
votes
1 answer

Wand to ivalidate the session after 10 minutes in struts

I have written code using struts. I want to invalidate the session if the user is idle for 10 minutes. I want to write the code in servlets but not in jsp. can anyone suggest?
-3
votes
1 answer

Pausing and restarting sessions

How can I pause a session after a particular time (such as when user is inactive for 30 minutes) without logging the user out? More specifically, I'd want to know when the user is logged in, when the session starts, and the duration of the session.…
Rohan
  • 3
  • 3
-3
votes
2 answers

How to log-out android application when it is not using

I am developing an Android application in which I can login with a particular userid and password. I want my application to be able to automatically log the user out when the application state is idle for 5 minutes. How can I achieve this in…
madan V
  • 844
  • 3
  • 19
  • 40
-3
votes
1 answer

Keep Http session alive asp.net

Possible Duplicate: Keeping ASP.NET Session Open / Alive What is the best approach to handle session timeouts in asp.net Does anyone know how i can possibly keep an http session alive when the user still has the browser window open?
Donald N. Mafa
  • 5,131
  • 10
  • 39
  • 56
-4
votes
1 answer

How to keep session variables updated always in ASP. NET MVC

After login I keep some user info in Session[""] vars. public async Task Login(LoginViewModel model, string returnUrl) { if (!ModelState.IsValid) { return View(model); } …
NoWar
  • 36,338
  • 80
  • 323
  • 498
-4
votes
2 answers

Log-out app automatically if app is idle for some time

I want to logout automatically if app is idle for some time , like session time out , how it can be done in android app?
-5
votes
2 answers

I want to keep session alive for 10 min. and then unset or destroy it

If a person idles for 10 minutes then I want the page expired -> user has to login again to continue.
Ankit Sharma
  • 398
  • 1
  • 7
  • 19
-5
votes
3 answers

Extend the session in asp.net

How to extend the session time automatically and how session cycle works in asp.net?
Raja Rajan
  • 9
  • 1
  • 1
1 2 3
85
86