Clear browser cache only on logout
<p>How can I clear browser cache only on logout, sure I can use the below:</p>

<pre><code>Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetExpires(DateTime.UtcNow.AddHours(-1));
Response.Cache.SetNoStore();
</code></pre>

<p>But this particular page which is a shopping bag page is accessible by both login and non-login users. How can I set it in such a way whereby the login user is able to access this page without clearing the browser cache but <strong>Only</strong> clears it when he/she logs out so that another user will not be able to access the history contents.</p>

<p>I have tried the solutions here:
<a href="http://www.codeproject.com/Tips/135121/Browser-back-button-issue-after-logout" rel="nofollow">http://www.codeproject.com/Tips/135121/Browser-back-button-issue-after-logout</a>
made some changes but still couldn't figure out how to deal with this issue. </p>

<p>I also cleared my session on logout as below but I understand the browser cache will still stay.      </p>

<pre><code>FormsAuthentication.SignOut();
Session.Abandon();
Response.Redirect("~/");
</code></pre>

<p>Please advice. Thanks.</p>
