ASP.NET Caching : Good As Well As Bad ! Page shows old content!

Posted by Shyju on Stack Overflow See other posts from Stack Overflow or by Shyju
Published on 2010-04-05T12:43:34Z Indexed on 2010/04/05 13:03 UTC
Read the original article Hit count: 318

Filed under:
|
|

I have an ASP.NET website where i have implemented page level caching using the OutPutCache directive.This boosted the page performance.My pages has few parts(Some buttons,links and labels) which are specific to the logged in user.If user is not logged in,they will see different links.Now Since i implemented the page level caching,Even after the user logged in,It's showing the old page content(Links and buttons meant for the Non logged in User).

Caching is obviously good.But how to get rid of this problem ? Do i need to completely remove caching ?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about caching