At 01:19 PM 00/04/13 -0400, you wrote:
>I'm trying to use session variables for unique users in my CF program, but
when i change users the session doesnt end.
>
>1) What is the code to end a session?

        I generally use StructClear(session).  Session variables are stored in a
structure.  That destroys that structure, and all session variables with it.  

>
>2) Then, how would i incorporate the code to end the session by pressing a
"log off" button?

Have the link go to a page with something like:

<cfset temp = StructClear(session)>
<cflocation url="homepage.html">

>
>thanks,
>Brian
>-----------------------------------------------
>FREE! The World's Best Email Address @email.com
>Reserve your name now at http://www.email.com
>
>
>---------------------------------------------------------------------------
---
>Archives: http://www.eGroups.com/list/cf-talk
>To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
>
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to