Author: bullpit | Posted on: 8/20/2008 5:55:51 AM | Views : 580

I am using ASP.NET Menu control's security trimming feature. I have two roles for now, Administrator and User. There is an Admin.aspx page which is not supposed to be shown to the users in User role. Everything works great but sometimes, when I login as Administrator, then log out, and then login again as a User and type the path of the admin page in the address bar of the browser, the browser shows me the cached Admin.aspx page. If I refresh or try to do anything on the Admin page, the browser takes me to the login page. This means it's showing the cached page. Do I have to turn off caching for that particular page?

Admin forlder web.config: 
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in ...

Go to the complete details ...