server caching problem on ASP.NET MVC page

Posted by Rita on Stack Overflow See other posts from Stack Overflow or by Rita
Published on 2010-05-21T01:20:37Z Indexed on 2010/05/21 4:20 UTC
Read the original article Hit count: 295

Filed under:
|

Hi

I have server caching error on ASP.NET MVC Pages. The scenario is like this.

I have two applications (1).External Website and (2).Internal Adminsite, both pointing to the same Database.

There is one page called EditProfile Page on the External Website that registered customer can update his profile information like Firstname, Lastname and Address…etc. Similarly there is similar functionality on the Internal Adminsite on the page called CustomerProfile Page where the Site Admin can update all these fields.

When the user updates the profile information from the Adminsite, those updates are not reflecting back to the Website.

Now I tried restarting the Website on IIS and that din’t help. Again I tried both restarting the Website on IIS and opening a new browser, then those updates are reflecting back.

I am wondering how I can come out of this caching problem without restarting the site and open a new browser window everytime? Are there any IIS settings that could help?

This caching is happening only on couple of tables only and all the updates are showing up in the database.

Appreciate your responses.

Thanks

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about asp.net-mvc-2