Store the user info in a structure within session when they login... like Session.user.isLoggedIn Session.user.userid Session.user.usernmae Session.user.etc...
Then structDelete(session, "user") when you want to log them out ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -----Original Message----- From: James Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, August 02, 2007 11:45 AM To: CF-Talk Subject: Forcing a session to end... Is there any way to end a session when a logout link is clicked? I have tried... <cfset temp = onSessionEnd(session,application)> <cfapplication name="application" sessiontimeout="#createTimeSpan(0,0,0,0)#"> But it leaves the session scope fully populated. I have even tried... <cfset temp = onSessionEnd(session,application)> <cfapplication name=" application " sessiontimeout="#createTimeSpan(0,0,0,0)#"> <cfset temp = structClear(sesion)> <cflocation url="/"> But that doesn't work either. I am sure I am missing something simple but this is driving me nuts! -- Jay ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285306 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

