Actually let me rephrase that. When the browser closes it will assign a new
CFID & CFToken.
On 11/3/06, Andrew Scott <[EMAIL PROTECTED]> wrote:
>
> Ok now you make me feel like god:-)
>
> Seriously
>
>
> <cfif IsDefined("Cookie.CFID" ) AND IsDefined("Cookie.CFTOKEN" )>
> <cfset cfId_local = Cookie.CFID>
> <cfset cftoken_local = Cookie.CFTOKEN>
> <cfcookie name= "CFID" value="#cfId_local#" >
> <cfcookie name="CFTOKEN" value="#cftoken_local#">
> </cfif>
> When the browser closes it will kill the session, place this in your
> application.cfm file.
>
>
> On 11/3/06, Juman Lop <[EMAIL PROTECTED]> wrote:
> >
> > Can anyone up there Help me to clear all session and cookie when user
> > logout from system?
> >
> > My code is dosn't work properly.
> >
> > <cfset tmp=StructDelete(cookie,"total","TRUE")>
> > <cfset tmp=StructDelete(cookie,"UStotal","TRUE")>
> > <cfset tmp=StructDelete(cookie,"item","TRUE")>
> > <cfset tmp=StructDelete(cookie,"prodlist","TRUE")>
> >
> > <cfset StructClear(cookie)>
> >
> >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionauthority.com/quarterly
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258965
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4