----- Original Message ----- From: "Dave Carabetta" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, January 03, 2002 4:46 PM 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. > if you don't delete the client variable but just update them after the form, you won't have this pb, no ? lje ______________________________________________________________________ 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

