Thanks for your suggestions. What I wound up doing was checking on the calling page for the existence of the cookie that I delete on the Change User page. If it doesn't exist I do a "hard" reload via JavaScript to completely refresh the page.
It turns out that the CFHEADER tag and the META tag methods that I wanted to use only work in Nutscrape 4.x, and not in IE (any version) or Nutscrape 6.x because of the way the browser caches the pages. I don't know if it's the most elegant solution, but it works on all browsers, so that's what I'm going to go with. Thanks again, Dave. ----Original Message Follows---- From: "Bryan Stevenson" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: CF-Talk <[EMAIL PROTECTED]> Subject: Re: Stupid Back Button Date: Thu, 3 Jan 2002 08:47:40 -0800 Dave, I'm not sure of your directory structure, but I do something like this.... The "logged in" home page is inside a "secure" directory that has an application.cfm file that tests for the "logged in" status (i.e. cookie or whatever you are using). If they try and hit any page inside that secure directory without logging in then they get kicked to yur "not logged in" home page (or a logon form). You could also check for logged in status in the root directory's application.cfm so that if someone backs out of the logon page you can test their status and show them the appropriate home page (or the opposite..see they are logged in and send them to the secure home page). HTH Bryan Stevenson VP & Director of E-Commerce Development Electric Edge Systems Group Inc. p. 250.920.8830 e. [EMAIL PROTECTED] --------------------------------------------------------- Allaire Alliance Partner www.allaire.com ----- Original Message ----- From: "Dave Carabetta" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, January 03, 2002 7: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 > ______________________________________________________________________ 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=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

