In my application login form and detail form . In detail from contains report grid and logout button.
In logout button i have written Session.Abandon(); then it redirects to login form .But if
i click back button it goes to detail page . how to avoid this ? this should display only login page.
when i click back or forward button after logout.i want to display login page.
Thanks®ards
Venkat.S
Loading

Ankit NandekarPosted May 4, 2011, 3:52 AM
Response.Cache.SetCacheability(HttpCacheability.NoCache);
If you want to apply that for all of your pages, you can place that code in the Master page Page_Load event.