Avoid Caching of ASP Page

V

vanisathish

Hi All,
I am running IIS5.1. I am invoking an ASP page in ther server
continously from the HTML Page, to update some contents of the html
page. The ASP page seem to run from the cache sometimes(Not Always). I
tried to give the following header to my ASP file.

Response.Expires = 0
Response.AddHeader "pragma","no-cache"
Response.AddHeader "cache-control","private"
Response.CacheControl = "no-cache"

still the contents seem to get cached. how can i avoid this ?
appreciate your inputs.

thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top