Try putting this in the head:
<META HTTP-EQUIV="Expires" CONTENT="0">

If that doesn't solve it then its a "feature" of IE.

Sam

Sam Farmer - Senior Developer
Certified Advanced ColdFusion 5 Developer
[EMAIL PROTECTED]
INTELIX - Intelligent Solutions
<http://www.intelixinc.com>
12500 Fair Lakes Circle, Suite 150
Fairfax, VA 22033
703-815-2500


----- Original Message -----
From: "Dave Carabetta" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, January 03, 2002 10:46 AM
Subject: Stupid Back Button


> I have a question concerning the stupid Back button on a browser.
>
> We have a site where a user sees one home page if they are logged in and
> another if they are not. On the logged-in home page, the user has the
option
> to "Change User." They are then sent to a login page for the new user. On
> this page, a cookie and a few client variables which personalize the
user's
> experience are deleted. My problem is this: How can I make it so that if
the
> user hits the Back button after coming to the Change User page, they are
> automatically sent to the regular home page for users who are not logged
in?
> I have tried the <cfheader name="Expires" value="#Now()#"> method on both
> the home page and the change user page (just as a test), and while it
works
> the first time (the user is properly redirected upon hitting the back
> button), if I log in again, go to change the user, and then hit the Back
> button, the logged-in page appears. However, if I simply hit the Refresh
> button or click on any link on the logged-in page, the regular home page
for
> non-logged in users correctly appears. This obviously must be a caching
> issue, but the cfheader method doesn't seem to be working.
>
> Any ideas?
>
> Thanks,
> Dave.
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
> 
______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to