Andy,

Should the value of "Expires" not be in the following format "Tue, 04 Jan
1994 14:13:25 GMT" ?

Just a thought..

----- Original Message -----
From: "Andy Ousterhout" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 4:17 AM
Subject: RE: Logging out of application


> Here is what I use...
>
> <!--- Sets the document to expire now. Should clear out the
>  cached version and force a reload--->
> <CFHEADER NAME="Expires" VALUE="Now()">
>
> <!--- On HTTP version 1.0 servers, stops the browser and/or
>   proxy from caching the document. Does not work on 1.1
>   servers --->
> <CFHEADER NAME="Pragma" VALUE="no-cache">
>
> <!--- On HTTP version 1.1 servers, stops the browser and/or
>   proxy from caching the document. Also forces form elements to be
>   re-examined.--->
> <CFHEADER NAME="cache-control" VALUE="no-cache, no-store,
must-revalidate">
>
> -----Original Message-----
> From: FlashGuy [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 27, 2003 11:59 AM
> To: CF-Talk
> 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
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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

Reply via email to