K
kaczmar2
I have a page written in ASP.NET that uses some Javascript to modidy
the .innerHTML property of a DIV tag. The page works great in FireFox,
but in IE6, the page tends to pull the content out of its local cache
and not modify the DIV tag. The Javascript code is run in the correct
places and during the correct events, it's just that the content of the
page is not being updated. The page uses Postbacks.
My current IE settings specify to "Check for new version of pages:
automatically". If I set this to "Every time", the page works just
fine.
I have included, in my Page_Load, the directive:
Page.Response.Cache.SetCacheability(HttpCacheability.NoCache)
But this does not work. I have also tried:
Response.Expires = 0
Response.Cache.SetNoStore()
Response.AppendHeader("Pragma", "no-cache")
but to no avail.
Can anyone help here? I want this page to be reloaded fresh every
time, without having to change the local IE cache settings.
the .innerHTML property of a DIV tag. The page works great in FireFox,
but in IE6, the page tends to pull the content out of its local cache
and not modify the DIV tag. The Javascript code is run in the correct
places and during the correct events, it's just that the content of the
page is not being updated. The page uses Postbacks.
My current IE settings specify to "Check for new version of pages:
automatically". If I set this to "Every time", the page works just
fine.
I have included, in my Page_Load, the directive:
Page.Response.Cache.SetCacheability(HttpCacheability.NoCache)
But this does not work. I have also tried:
Response.Expires = 0
Response.Cache.SetNoStore()
Response.AppendHeader("Pragma", "no-cache")
but to no avail.
Can anyone help here? I want this page to be reloaded fresh every
time, without having to change the local IE cache settings.