-
cache problem
I have a page that makes dynamic links based on files in a dir named 0.m3u, 1.m3u....etc. The problem is: suppose that I am browsing in a certain dir through the asp page. I play 0.m3u. It plays correctly.
Next, I go to another dir and try playing 0.m3u. I get the stream from 0.m3u on the first page.
I checked the m3u files and they have the correct information in them. If I go to clear the browser's cache or restart the browser and try again it works. Is there a way to handle this with asp?
-
Re: cache problem
not sure about from within ASP, but from the client side, you can set the options in IE to check for fresh content on every visit, that should solve the problem per client.
Of course response.write your paths on the page so you can be sure it is not actually being instructed to open that same path, or has somehow latched on to a variable portion of the filepath that it should have let go of.
-
Re: cache problem
You can add some html coding to the top of your asp page that forces the browser to get the latest page... ie no cache.
Code:
<META HTTP-EQUIV='Pragma' CONTENT='no-cache'>
<META HTTP-EQUIV='Cache-Control' CONTENT='no-cache'>
Might be useful?