I am using an ASP script which reads the contents of a folder with image files and outputs its content to the client. I am trying to make it auto refresh but it only works if the refresh is requested from the browser. I have added the following content, but does not work. Since the client is getting a HTML response, I have added a refresh meta tag (<META HTTP-EQUIV=refresh CONTENT=10;URL=http://webphone.nsgtmo.com/photopage.asp
>) which seems to reload the page but does not re-run the code.
Response.Expires = -1
REsponse.ExpiresAbsolute = Now() -2
Response.AddHeader "Pragma", "no-cache"
Response.CacheControl = "private"
Response.AddHeader "Refresh", "10;URL=http://webphone.nsgtmo.com/photopage.asp