When you clear a session the Session ID is still running until the browser is closed, and thus the user is not actually logged out. Have you considered using the CFLOGOUT tag? I believe that is the bese mechanism for logging users out.
Bruce On 8/2/07, James Smith <[EMAIL PROTECTED]> wrote: > > 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 > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285223 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

