Put the following code on page load ....
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetRevalidation(HttpCacheRevalidation.AllCaches);
Response.Cache.SetNoStore();
if (Session.Count == 0)
{
Response.Redirect("login.aspx");
}