aturner51
Posts: 6
|
Posted: 08/07/2009, 12:35 PM |
|
I have an application that requires a user to login. If the page is idle for more that 3 minutes, it requires the user to reenter their username and password. Is there a way to physically change the time out ratio to 30 minutes in Code Charge (see below)? The user is required to enter a lot of data, but may at some point be called off to do something else. I don't want them to have to log back in each time they walk away from their computer just briefly.
Will I be required to add a Session Variable to each page? Or, can it just be done from within common.asp?
The application is built using ASP in Code Charge Studio 4.2.00.040 with SQL 2005 backend.
|
|
|
garycrunk
Posts: 23
|
Posted: 08/07/2009, 1:04 PM |
|
Yes... This is what I do...
In your common.asp file... Usually after your DIM entries near the top of the file...
Place this
' Set the Session Timeout to 2 Hours... That should be PLENTY of Time
Session.Timeout = 120
_________________
Gary Crunk
Job Examiner |
|
|
aturner51
Posts: 6
|
Posted: 08/07/2009, 1:26 PM |
|
Thank you. I will give that a try.
|
|
|
|