troubleshooting Question

Auto refresh Image

Avatar of nevyana2006
nevyana2006 asked on
Web DevelopmentASP
5 Comments1 Solution783 ViewsLast Modified:
Hello,
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.AddHeader "cache-control","Private"
Response.CacheControl = "private"
Response.AddHeader "Refresh", "10;URL=http://webphone.nsgtmo.com/photopage.asp"
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros