
Jasmine
Administrator
/ Moderator
Apr 1, 2000, 10:34 PM
Post #4 of 5
(368 views)
|
|
Re: Prevent returning to previous page
[In reply to]
|
Can't Post
|
|
Hitting the "back" and "forward" buttons on your browser does not make any call to the server -- it is calling the local cache to display the file. Technically, anything outside of this "rectangle box" where web pages appear, a webmaster has no control over what the visitor does. For example, a javascript may prevent a user from right-clicking within the box, but there's absolutely no way for the webmaster to prevent the user from clicking "View, Source". Javscript can prompt the print box, but can't make the page automatically print. Taking this logic a step further, there's no way to wipe out the user's local cache to force a re-download of the page so that the REFERER tag is correct. You can try the pragma: no-cache, but that doesn't work on many versions of IE but it does with versions of Netscape after 3.0 (or was it 2.0?). As much as we'd like to control every facet of how visitors behave with our web sites, it's a pipe dream. In all fairness, these limitations benefit both the end-user and ourselves when we do our own surfing.
|