If you are on CFMX, you can use J2EE session which will expire on browser
close.

HTH

On 10/12/07, Richard Colman <[EMAIL PROTECTED]> wrote:
>
> I am trying to provide a "logout" function on my site. I have tried
> various combination like:
>
>                 <cfcookie name = "UserID"
>                 value = "#session.client_id#"
>                 expires = "NOW">
>
>                 <cfset structDelete(cookie,'UserID') />
>
>                 <CFSET temp=structDELETE(session, 'level')>
>                 <CFSET temp=structDELETE(session, 'loginok')>
>                 <CFSET temp=structDELETE(session, 'client_id')>
>                 <CFSET temp=structDELETE(session, 'lname')>
>                 <CFSET temp=structDELETE(session, 'fname')>
>
> But the login presists until the browser is closed.
>
> Is there any way to kill a login without exiting the browser?
>
> Any suggestions appreciated.
>
> Rick Colman
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:290956
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