I have a script that loads my content in a div using AJAX. I use this for various(and obvious) reasons.
Well, if I load some content, then it changes(while the user still has the page up), if they click on the link to reload that same page of content, it is not really refreshed. The same content that was there before is still there.
The only way I know to solve the problem is use the browsers refresh button, and refresh the actual webpage. Then when you use the link the AJAX script gets the content and loads it, with the changes(since it gets the file at that exact time, thus getting the newer version).
It is almost like AJAX is using some type of cache so when I get content, it remembers it, and then if I try to get that same content again(even after loading different content), it will load the old version of the content, just like it did the first time.
I doubt it is the browsers fault, since the new content can be loaded once the page is refreshed. The browser wouldn’t keep the information and then delete it once the page is refreshed, would it?
It seems to be like this for IE and Firefox.