Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AddForceReload() to affect stylesheet
Message
 
To
24/04/2002 16:01:03
General information
Forum:
Visual FoxPro
Category:
West Wind Web Connection
Miscellaneous
Thread ID:
00648824
Message ID:
00648856
Views:
15
>>On a specific page, I am including a stylesheet link reference. However, when that stylesheet page is updated, it is not reflected at the user's side, for those who work with Automatic, as far as the new version.
>>
>>Even, if I include AddForceReload() in the header, this won't affect an included link reference for a stylesheet. So, when working with Automatic, if we do not want IE to do it by itself within a few minutes, we are forced to manually click on Refersh of the browser in order to get the updated version of the stylesheet page. How can I achieve the same from WWC?
>
>Ok, I solved that one.
>
>Basically, even if the browser is set to check for a new version of the page at every call, there is still some bugs in IE that won't get it. Even if you force a refresh, the same problem can still occur after a few refreshes.
>
>So, I found a way to fool the browser by renaming the stylesheet if a change is necessary. So, as we are ending up with a new page, the browser can't take it from its cache. That works at 100% so far. But, IMHO, browsers should always get the newer version of any page on a server if the date is more recent than what is in the cache. I never understood that practice by some browsers.

Michel;

I am convinced that Browsers have a mind of their own! :)

Tom
Previous
Reply
Map
View

Click here to load this message in the networking platform