You mean a server-side script changes everytime you refresh the page, and a client-side script changes everytime you start the browser?
That is normal behaviour for any server-side script, be it CGI, SHTML, PHP, ASP etc. because those pages are likely to change - the may show the current time, for example
Client-side scripts are considered static. Just like a HTML file or image, it is anticipated that they will not likely to change frequently.
You can edit the MSIE/Internet Options to behave differently - i.e. check every time you request any document. I had used this settings but it can cause havock for some scripts so don't recommend it.
You can give the *.JS a *.SHTML extension or something like that - this will waste a little server CPU time, but the web browser will treat it as a dynamic document and re-request every time you refresh. It will also treat it as a .JS file because that's what it had been told the file is in the HTML markup <SCRIPT SRC="...
You may also be able to get your web server to change the HTTP headers associated with that .JS file which would be the optimal solution but that would require understanding the .htaccess scripting for your server and that's something I have very little knowledge of
Wow! Didn't think I was going to write that much.
Hope you found this text helpful
