Categories | Question details Back To List | ||
Dhtml Menu (Using XML) Caching issue Menu XML is generating dynamically. I am saving a file in each refresh(page load) and using it for the menu. Even I add/edit/delete menu items from the user interface from my application, It won't show the modifications until I close the browser and open the application in a new window. (IE ver 7) I am using PHP and I have used lots of header cache flushing methods. None of them were successful though. I can't expect my clients to close and open browser every time. Do you have any solution for this issue? Appreciate the help! Regards, Answer posted by Support on Oct 27, 2008 02:45 There are two possible solutions a) load data directly from PHP file menu.loadXML("some.php") some.php - output data as XML for menu b) add random element to the url to prevent caching menu.loadXML("some.xml?uid="+(new Date()).valueOf()); |