Another way of handling this is:
<cfif user is a customer>
<cfset timeout = "30 minutes">
<cfelse>
<cfset timeout = "8 hours">
</cfif>
<cfapplication sessionTimeout="#timeout#">
My suggestion, in the previous post, would be best if you needed to
access any application or session variables/functions to determine if a
user is a customer or not.
-----Original Message-----
From: Dawson, Michael [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 05, 2005 1:26 PM
To: CF-Talk
Subject: RE: session timeouts per user
You can use multiple <cfapplication> tags in your CF page:
<cfapplication sessionTimeout="...8 hours...">
<cfif user is a customer>
<cfapplication sessionTimeout="...30 minutes..."> </cfif>
M!ke
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the mailserver that powers this list at
http://www.houseoffusion.com/banners/view.cfm?bannerid=17
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189423
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54