PDA

View Full Version : Dynamic Ajax Content Pages Not Updating



Hostixa
01-25-2008, 06:17 PM
1) Script Title: Dynamic Ajax Content

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm

3) Describe problem: When internet explorer loads a page witch has been updated it doesnt display the updated content it displays the old content so i was wondering is there any way this can be solved so that pages update. In firefox everything works ok the page updates.

Thanks in advance

ddadmin
01-25-2008, 09:38 PM
By default the script should already try to bust any caching of the fetched page, by way of the following variable inside the script:


var bustcachevar=1 //bust potential caching of external pages after initial request? (1=yes, 0=no)

If it's set to 1 that is. Other than that, you may need to modify the external page being fetched so it outputs a no-cache header (http://www.google.com/search?q=no+cache+header&sourceid=navclient-ff&ie=UTF-8&rlz=1B3GGGL_enCA244CA244) on the server end.

Hostixa
01-25-2008, 10:31 PM
Hi thanks for your reply issue resolved i had to php header info into each of the files being loaded to stop it from cache in i.e :) thanks

close thread pls