Hello everybody,
I found the solution:
Go to the Internet Explorer Options, then Browsing History/Settings, and select the option "Check for newer version of stored pages" -->
Every time I Visit the page. Same for IE6 or IE7.
Olav, I think that this is a know issue with Ajax and IE, in order to avoid that, when we are using images with ajax, we must add a query string with a random value at the end of the Image address.
Example:
If the image address is: http://myserver/images/mypicture.jpg,
you can change this address by:
http://myserver/images/mypicture.jpg?Q=AnyMath.RandomValue()
Another options that I found, but without results for me were add these lines of code on my page.
response.setDateHeader( “Expires”, -1 );
response.setHeader( “Cache-Control”, “private” );
response.setHeader( “Last-Modified”, new Date().toString() );
response.setHeader( “Pragma”, “no-cache” );
response.setHeader( “Cache-Control”, “no-store, no-cache, must-revalidate” );
more info:
http://en.wikipedia.org/wiki/AJAX
http://webreflection.blogspot.com/2006/12/stupid-ajax-cache-problem-solution.html?q=%20Math.random()
If some body can fix this situation without change any options in the internet explorer please let me know.
Greetings,
Omar Rodríguez