This topic is locked

force page refresh after javascript changes

4/3/2012 9:57:41 PM
PHPRunner General questions
C
chuckbower author

Help please? Surely others have had this issue. I have made several changes to the javascript event on page load, and I need a way to force the updates to be automatically used by my users once I roll out the new version. Is there a trick where I could code something within the page in a PHP code snippet for each page where I have tweaked the javascript event on page load?
Please don't suggest that I tell 500 different users from all across the nation to clear their browser cache. Please also don't suggest use of another browser instead of IE. If I could control all of these people, or their PC, or their browser, then I would be smart enough to live on my own island in the Carribean and wealthy beyond my or your imagination...
Thank you in advance.

Chuck

C
cgphp 4/4/2012

After inline edit or inline add actions?

C
chuckbower author 4/4/2012

No, this is not a forced page refresh after some type of transaction, add, edit, delete, etc. This is simply rolling out a new, updated version of the application, with several changes in table and view "JavaScript OnLoad event". I am finding that most users are using IE - and they have to clear their IE cache or the updates in the JavaScript OnLoad event pages are not occurring. But I also found this on a Google Chrome user.
I should clarify that I am not using much inline add or inline edit, i have made most JavaScript OnLoad changes on the add & edit pages.
Chuck