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
-1
votes
1 answer

How to change PHP session time in this code?

I am trying to change the session time in my login code, and here is the code I want to change the session time in:
-1
votes
1 answer

session time is not working in asp.net

im using forms autentication and i have timeout of 80 min . but while working with application , in 5 minutes its again going to login page. how to increase my session time out in web.config file ?
krishna mohan
  • 437
  • 1
  • 4
  • 18
-1
votes
1 answer

Session time out when idle not working php

I have written some code to timeout a session;
fdfdfd
  • 501
  • 1
  • 7
  • 21
-1
votes
3 answers

What would be the response code for session timeout in tomcat/other app servers?

I have configured following tag in my tomcat's web.xml. I waited for more than 2 minutes but still i am able to access the session. I came to know that there will be background thread run by tomcat to verify the expired sessions. I waited for…
TEJA
  • 1
  • 6
-1
votes
1 answer

Having issues with session timeout

Need your valuable feedback on this. I have implemented idletimeout functionalty so that session will expire in 3 minutes if the user is idle. In three scenario, I am resetting the timer. On click or tap after 2 seconds while processing is in…
Akki619
  • 2,386
  • 6
  • 26
  • 56
-1
votes
1 answer

expire a special session after some time in laravel

I have some admins for editing posts. I want ,when an admin is editing a post ,lock that post to prevent editing by other admins so I need a lock field from 0 to 1 and also I need to set lock_time for 30 minutes . because maybe that admin go out…
saha
  • 221
  • 1
  • 5
  • 13
-1
votes
1 answer

Oracle Apex connection timeout error

On loading the file from Apex application, I'm getting the Network Error (tcp_error). Error Desc: "A Communication error occurred. The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You…
Subbu
  • 71
  • 2
  • 2
  • 5
-1
votes
1 answer

How to restrart asp.net session start time on server?

My Server (VPS) takes a DateTime about 12 hours more than now DateTime, after a system restart.(tomorrow date and toggled AM/PM time). The issue is that when I correct the date and the time on server, I can not login to my asp application anymore!…
Forough
  • 262
  • 4
  • 20
-1
votes
1 answer

JSF, session timeout handling

I have configured my session timeout in the server and have added a filter to handle session timeout. But when I am trying to redirect it back to the login page its not working. I searched the net but not getting anything solid. I am using jsf.. my…
zDroid
  • 426
  • 1
  • 11
  • 32
-1
votes
3 answers

Redirect to Login upon Session TimeOut

I've used this approach below in which you will be automatically directed to the login page upon session timeout, but the problem is that, even if you're doing something you will be redirected. AutoRedirect Is there any approach for handling…
user3035024
  • 199
  • 2
  • 5
  • 17
-1
votes
1 answer

Return to last function when re logged due to session timeout (keep inputting data)

I want to return to the last function even if the session has timed out and have to logged in again. It would be nice if i can keep inputting data. Ex: I am inputing data to a form and when I click submit, session has timed out. I have to relogin…
-1
votes
1 answer

how to test my session?

My website is built in PHP.I want to know how to test the session whether it is breaking or whether it is vulnerable to any security attacks. Is there any tool available or I have to do it manually ?
-1
votes
5 answers

Record the Logout time of user in case of Session timeout and Browser Close

Possible Duplicate: timed auto logout and browser close i am storing the user usage of a website in a mysql table and i am able to capture and store the login time using a insert query at the time of login-in and i am capturing the logout time…
Aditya Kumar
  • 793
  • 1
  • 8
  • 14
-1
votes
1 answer

Symfony2 - FOSBundle Where do FosBundle Store SessionIDs?

i wonder how can i manipulate sessionID**s in *FOS bundle Symfony2. i need Symfony 2 to be a Central Authentication system(kinda AAA). so I want to check Given SessionID*s from other applications requesting against **FOS and Update their…
morteza kavakebi
  • 1,640
  • 3
  • 18
  • 39
-1
votes
3 answers

Which is the best session handler?

I've been reading a lot abut this in the last month, and I've tried many different stuff, and I've heard many different opinions. In the total ignorance in this subject, I've started building a custom session handler in PHP, running a validation…
Ivo Pereira
  • 3,410
  • 1
  • 19
  • 24
1 2 3
85
86