> I using a login script in my Application.cfc that authenticates using 
> cfntauthenticate to verify username password, then use cflogin to 
> actually login to the site.  I use session variables throughout the 
> site to determine what users can and can't access.  The problem I am 
> running into is with session time outs and trying to login from more 
> than one location.  For instance, I have session variables set to 
> time-out after 1 hour.  However, the user stays logged into the system 
> even after the session variables have been trashed, and because of this 
> the site generates errors unless they actually pass a ?logout=1 parameter 
> through the URL.

Why not associate the CFLOGIN with the session?

<cfapplication loginstorage="session" ...> or its Application.cfc equivalent

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

This email has been processed by SmoothZap - www.smoothwall.net


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279960
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to