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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Session Variable Timeouts

Status
Not open for further replies.

Kleptican

MIS
Feb 23, 2006
26
US
I have a five page .cfm website with session variables. The website gets pre-populated with data from the database. Most of the time the website is just reviewed and no changes are made. However, some sessions take a long time. Since sometimes i get an error that some FORM variable is undefined or it just kicks the user back out to the login screen, i'm guessing it's because the session timed out. My question is, is that when the user clicks the next button to go to the next .cfm page, is the session "refreshed" so the timer goes back down to 0 minutes or if nothing is changed/saved and the user just clicks next to go to the next page does the timeout timer keep incrementing and would therefore cause the above error? Thanks for any input.
 
A session variable is refreshed every time a connection is made with the CF Server, which is every time a .cfm page is called. So, yes, when the user clicks the next button to go to the next .cfm page, the session is refreshed.


Hope This Helps!

ECAR
ECAR Technologies

"My work is a game, a very serious game." - M.C. Escher
 
Thanks for your input.
I'm kind of changing of the topic here; but on a separate website I'm using cflogin in the application page and no session variables. One of my users were reviewing the page and they got kicked out to the login screen. It can't be a timing out situation because there was little to no down time in reviewing the website. If anyone can just throw out some explanations or experiences you might of had I'd appreciate it so as to figure out how to stop this. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top