vsuneel

hai guys,

i am scripting in asp and using IE7 browser.

i have problem with IE browser cache.Mainly its giving problem with taking images.its taking them from cache not from server.

i have used...some of cache clearing mesures,like...

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

I have used them on the top of the page.and i have tried with "no-store" also..

still no use..

som times..even when i have updated javascript file (pasted updated file) in the server...and refreshed there, still the browser is taking the old script only..

this is going to be a problem for me...

please help me...

thanks in advance..

suneel.






Re: Internet Explorer Web Development IE Cache problem:cache-control,pragma,no-cache headers are not working.

spinow

I am having the same trouble... If someone could help us...




Re: Internet Explorer Web Development IE Cache problem:cache-control,pragma,no-cache headers are not working.

Feeling

I am also having the same problem. If anybody can help, I would be really appreciated. Thanks in advance!



Re: Internet Explorer Web Development IE Cache problem:cache-control,pragma,no-cache headers are not working.

Billy18527

Anyone figure this out yet





Re: Internet Explorer Web Development IE Cache problem:cache-control,pragma,no-cache headers are not working.

spinow

I was having this trouble. I have a Flash file that is fed by a XML one, and when I updated the XML, the Flash wasnt too, as long as I closed IE and opened it again. I got it working doing the following (inside the Flash file):

randNum = Math.random() * 1000000;
my_xml.load("my_file.xml "+randNum);

... As if Flash called a different file each time you load the page!

Maybe you could try some alternative like that with javascript files...

Regards!