Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

server side cache - how can it be cleared?

Status
Not open for further replies.

NoCoolHandle

Programmer
Apr 10, 2003
2,321
US
Hi..

I recently experienced an issue with an iis7 system where code that was changed in a "code behind" page wasn't being executed with subsequent page refreshes. It got wilder than that. We could delete the webpage and it's code behind page and the server kept serving it up. (I tried getting the page from multiple systems and the page kept coming back like an unwanted house guest)

So the question is.. (How can I force a server side cache refresh via something like the web.config file? - is it possible.)

The solution we came up with was to change the dotnet app from 2.0 etc to 1.1 and then back. (Not what i call a good solution, but it did work) - we have almost no control over iis itself as this is a "hosted solution", so I need to find a solution that would allow me to do it from config files)

A person in the hosting company's support sugested i make changes in the .htaccess file, but I thought that only applied to apache servers.

Thanks in advance.


Rob

PS I will cross-post to asp.net (and update this group if a solution is proposed)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top