Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:16

How to refresh/reload menu?


Poster: brettzamora
Dated: Friday August 6 2004 - 22:10:48 BST

Hi...

I have a program that dynamically writes the menudata.js file on the server. On one of my web pages I have maintnance facility that allows the user to specify what appears on one of the submenus. After they submit their changes, I call my program and regenerate the menudata.js file, then I display a confirmation page to the user. The confirmation page and all other pages have the same menus on them. When the confirmation page is displayed, the new menudata.js file should be reflecting the change, however, it's as if the page pulls the menudata.js file from cache. I've messed with the expires pragma, etc, however, the only way I can get the menu to refresh is if I right click on the page and then click the refresh option. Is there a way to get the menu to reload itself without using the cached version, specifically when I want it to??

Thanks,

Brett


Poster: kevin3442
Dated: Wednesday August 11 2004 - 4:35:32 BST

Hi Brett,

Is it possible that the confirmaton page is loading before your program is finished re-writing the menu_data.js file?

Kevin