In <[EMAIL PROTECTED]>, Brian Ingram
([EMAIL PROTECTED]) in a fit of unbridled passion, 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?
>
> 2) Then, how would i incorporate the code to end the session by pressing a "log off"
>button?
>
You might store your user ID in a session variable and change that
variable when people log on and off... Logging off would set it to
something like "none". In application.cfm, you can test the value of
this var to see who the person is or if it is "none", force them to log
on.
HTH,
-R
------------------------------------------------------------------------------
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.