I use this type of cache code on my pages
<%@ OutputCache Duration="60" VaryByParam="*" VaryByCustom="browser" %>
An issue by example.
I have a page with the asp.net 2 (MSVS 2005) membership menu controls <asp:logonview etc on them. This control show different menus depending on if the member is logged on or not. I am using forms cookie authentication.
The sequence of events...
Page1 has the above cache settings and a logonview menu control on it.
I am not logged on.
I goto Page1.
I view the page, and the logonvew control shows the button to logon. So correctly it has not detected a membership cookie and shows the logon button.
I log on.
I go back to page1, yet the logonview has not updated the menu for the newly logon status, as the page is sourced from the cache. I have to wait 60 seconds before the page can be rendered correctly. When the page is updat ...
Go to the complete details ...