Rob,
Seems to me that if you do it this way, your not only
expiring the session var's for the intended user, but also
for everybody else using that "application" at that time.

> Just expire the session in Application.cfm:
>
> <cfif isdefined("logout")>
>     <cfapplication
>         name="myapp"
>         sessionmanagement="yes"
>         sessiontimeout=#createtimespan(0,0,0,0)#>
> <cfelse>
>     <cfapplication
>         name="myapp"
>         sessionmanagement="yes"
>         sessiontimeout=#createtimespan(0,2,0,0)#>
> </cfif>
>
> Pass the parameter "logout" to any page and the
> session will die. You could
> also set cookie.cfid and cookie.cftoken to 0 and
> expire them too.

Anybody else with any thoughts on the matter?

<cf_warrior name="Bill">

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to