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

-----Original Message-----
From: Paul Malan [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 05, 2005 12:42 PM
To: CF-Talk
Subject: session timeouts per user

I have some users of our extranet that use the tools throughout the day
from within our network.  To make their day simpler I expire the
sessions every 8 hours so they only log in once regardless of how long
it's been since they used the tools.

Now I have a request to allow access for select customers externally. 
The varying permissions are no problem, but I'd like to expire their
sessions after 30 minutes rather than 8 hours.

Is there a good way to set the session timeout depending on the
permissions of the user who logged in?

-Paul



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Sams Teach Yourself Regular Expressions in 10 Minutes  by Ben Forta 
http://www.houseoffusion.com/banners/view.cfm?bannerid=40

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189421
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

Reply via email to