hmm...i tried the response.setheader but still the computer cached my pages. is there other way, for example usage of timestamp to force the computer to retrieve info from server instead?
What browser are you using, unfortunately even the most current browsers do not "listen" to the Cache-Control header in all cases. There is not much more you can do in the response.
If that doesn't sufficiently solve your problem than the only other solution is javascript. I don't want to go into details because there are a number of resources for this on the web. Basically in javascript you could constantly overwrite the current page in the browser's history. So if they press BACK then they return to the last page they requested before entering your application. I don't like this approach because I am a huge fan of the BACK button and it would annoy me as a user to be presented with that. But sometimes you gotta say, "Users be damned, this is the way it has to work!"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.