Originally I had a problem with IE because I forgot to set the no-cache in the ASP pages that AJAX calls. Now that I added the headers, it works fine in IE, but still doesn't refresh properly in FF. I maintain the correct last browsed position using sessions, and works flawlessly in IE (so far), but FF, when the BACK button is used, it doesn't update.
I'm assuming is a cache problem, because as soon as I refresh the page manually (F5), it works fine (I programmed it that way).
I'm using:
I'm not sure if I'm not in the right section to ask, but hopefully there's another way to refresh using ASP... JSP didn't work for me either.
I'm assuming is a cache problem, because as soon as I refresh the page manually (F5), it works fine (I programmed it that way).
I'm using:
Code:
Response.AddHeader "Expires", "Mon, 08 May 1983 05:00:00 GMT" Response.AddHeader "Last-Modified", Now & " GMT" Response.AddHeader "Cache-Control", "no-cache, must-revalidate" Response.AddHeader "Pragma", "no-cache" Response.Expires = -1
Comment