Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Session Variables

Status
Not open for further replies.

fiber0pti

ISP
Nov 22, 2000
96
US
I have a web applications that requires people to login. It uses session variables to do this. My time span in the application file is set to 5 hours. It works find as long as the user is constantly requesting webpages. But if the user is inactive from anywhere 5 minutes to 10 minutes the session variable times out. How do I prevent this? I want it to be around an hour of inactivity.
 
The session variable (and application variable) default timeout and maximum timeout values that are set in CF Administrator override any setting invoked in an application file. Go to CF Admininstrator and change the default session timeout, which is 20 minutes upon install.

John Hoarty
jhoarty@quickestore.com
 
You can also say something like:

referring_page.cfm?RequestTimeout=5000.

Basically make sure you pass this parameter to the page that you want to run a longer time.

Hope this helps.

scripter73
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top