I am not sure if this will work but try CFHEADER

<cfheader name="location" value = "someurl.html">
<cfheader statusCode = "302" statusText = "Document Moved.">

Let us know
Thanks
Paul Giesenhagen
QuillDesign

----- Original Message -----
From: "FlashGuy" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, February 27, 2003 11:58 AM
Subject: Logging out of application


> HI,
>
> I have a "logout" button in my application. When clicked I want to sent
the user back to the login screen. This works just fine. The problem I'm
having is if I click on the "back"
> button in IE I'm able to go back to that page. I don't want this to
happen. How can I "clear" all session varaibles etc.?
>
> This is what I have in my logout.cfm file:
>
>
> <cfif IsDefined("Cookie.CFID") AND IsDefined("Cookie.CFTOKEN")>
> <cfset localCFID = Cookie.CFID>
> <cfset localCFToken = Cookie.CFTOKEN>
> <cfcookie name="CFID" value="#localCFID#">
> <cfcookie name="CFTOKEN" value="#localCFTOKEN#">
> </cfif>
>
>
> <CFLOCATION URL="/website/secure/index.htm">
>
> The "index.htm" is my login (authentication) template.
>
>
>
>
> ---------------------------------------------------
> Colonel Nathan R. Jessop
> Commanding Officer
> Marine Ground Forces
> Guatanamo Bay, Cuba
> ---------------------------------------------------
>
>
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to