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!

Inconsistant session timeout

Status
Not open for further replies.

pixiesfb

Programmer
Apr 27, 2001
62
US
Hi,

I've got a strange problem which is not occuring in development, but does occur when application is loaded at the client site.

The problem is that when a user logs in, or once they are in they use any of the forms, they sometimes get kicked back to the login screen as if their session has timed out. However, when the push the Back button in the browser, and try the form again, it works fine, (sometimes), it is really inconsistant.

I am using cflock tags such as
<cflock scope=&quot;Session&quot; timeout=&quot;10&quot; type=&quot;exclusive&quot;>
around session variables, and I am not a cflock expert.

Using UNIX box, CF 5.0.

 
Can you post pertinent code that shows us how you are setting the session vars? This would help us in determining what's going on.

Meanwhile, try changing the timeout=&quot;10&quot; to a higher amount of seconds; ie: timeout=&quot;30&quot;. It's possible that a the session is not being set due to the cflock timing out. On a side note, this is a good exampe of where you would want to implement the THROWONTIMEOUT attribute.
 
Turns out the client is running clustered servers, and session variables only get set on one.

Not too happy to find this out now...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top