Expire a particular page on back button of browser
<p>if users press the browser's back button to reach the prior page, the page should display a message like "web page expired".</p>

<p>can i use javascript for this???</p>

<p>for example:
there are 4 pages in web sites. on page 1,2 and 3 the user can use the back-button, wheras on the 4th page the user gets the desired message.</p>

<p>i thought that i can do this by using counter.</p>

<p>i used following javascript on the master page ..</p>

<pre><code>&lt;script type="text/javascript"&gt;
    function GoBack() {
        window.history.go(+1);
    }
&lt;/script&gt;
</code></pre>

<p>and call the function in body like this:</p>

<pre><code>&lt;body onload="GoBack();"&gt;
</code></pre>

<p>and on the 4th <code>page_load</code> i do the following:</p>

<pre><code>Response.Cache.SetCacheability(HttpCacheability.NoCache);
</code></pre>

<p>it is working for all pages .. but i want to do this only for the 4th page</p>
