The short answer is no. You don't end a session. ColdFusion does. But you can easily clear the data you work with. And honestly, that is what you should be concerned with. So if you set a variable when a user logs in, just clear out that variable when they logout.
Isn't that what you really want to do anyway? 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 > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:285222 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

