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!

Handling logged in users differently from public users

Status
Not open for further replies.

kngpontiac

Programmer
Joined
Sep 21, 2001
Messages
1
Location
US
Can logged in sessions be treated differently from non-logged sessions when both visit the same templates? We have an application where we want to timeout users who are logged in after 20 minutes. Users viewing the pages that are available to the public (intranet in this case) are being timed out after 20 minutes as well, we do not want this. Currently the only timeout being set is on the server, though I have tried playing around with session timeouts.

Lastly, will setting of sessiontimeout to a value greater that the server timeout override the value set for the server?
 
You can distinguish logged in and non-logged in users using session/client variables. Using that option you can keep session setting and treat logged in users differently.

In CF Administrator you can specify default an maximum timeout for session variables.
The default value applies to all applications on a particular server. Setting the session-timeout attribute of the cfapplication tag in a particular application.cfm template can overwrite this default.
The maximum value refers to the maximum timeout value allowed for any application on a particular server. CF will not allow a session timeout period higher than this. Setting a higher session timeout value in a particular application will cause CF to use the Administrator's maximum value.

Sylvano
dsylvano@hotmail.com

"every and each day when I learn something new is a small victory..."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top