954,595 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

.net authentication / refresh problem

so waay back i had some questions about setting up a login to secure a site i've been working on

there seems to be a rather annoying side effect

mostly html aside from a few simple asp scripts on particular pages

however if an update is made to the html such as a changed link or order of text changed even basic text content
the user needs to hit refresh in order to update it even if its been several days

i originally thought that it mush have been browser settings but taking out the login system seems to resolve it
simply closing browser and coming back to site and its updated
any ideas on this?


thanks,
MagusDF

magusdf
Junior Poster in Training
77 posts since Jun 2005
Reputation Points: 12
Solved Threads: 0
 

Just a guess, but it sounds like the application pages are being cached. Add noCache to the page_load event, or application event in the Global.asax file.

Response.Cache.SetCacheability(HttpCacheability.NoCache)
Paladine
Master Poster
Team Colleague
824 posts since Feb 2003
Reputation Points: 211
Solved Threads: 27
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You