> I stll see my Page Cache when the IE Back button is pressed. > Do you how to clear the cache? > What will happen if IE Back button is clicked after the cache is > cleared?
As far as I can tell, session.invalidate just clears a cookie (though I can't see a javascript version of it). This won't clear the browser cache. I don't know of any way of doing that in JavaScript (and wouldn't want it to be able to!) You have to write specific support for disabling use of the back button. We handle it here by allocating a cookie with session ID when the user logs in, and then on logout clearing that cookie. Also, the server marks the cookie as invalid. So if the user tries to go back the server refuses any request and the page will show an error. The other issue with browser cache is to do with what happens if you update your application - how do you get the browser to use the new version of your javascript? We built into the URL a version number and the login page automatically directs the user to the latest version. When the version number changes the browser will download all the application files again as the URL is different. Hugh ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
