Don't want to use cached web pages

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a web app that displays a list of files in a folder on the server.
However, if I add or remove files from folder and reload the webpage, the
list of files remains the same. The only way I can get the correct file list
is for the user to Refresh on the client side. This won't work. Is there a
way I can force the page to load brand new (as compared to a cached version)
every time?

Thanks,
Ed
 
disable caching in the browser by using the cache directive - it takes a
cache enum that allows you to specify where exactly you want the cache
disabled (server, client or both)

--
Regards
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
 
Back
Top