Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
Developer504 #1
Forcing a data refresh / overriding the cache
Ok having resolved one issue with how my data was being accessed, I still have
another as I suspected.
I have a simple app which displays a dashboarding control based on data from
an XML file.
When I run my app in developer mode, I can make a change to the data in my XML
file and immediately see changes in my dashboarding control every time I hit
refresh, or click on a button I put on to renew the HTTPService call.
But when I deploy the app on a virtual Server (using IIS) it ignores any
changes I make unless I close my browser (IE) and re-open it. In the latter
case i do see the changes made to the data.
How can I force IIS to refresh the display or override the cache?
D.
Developer504 Guest
-
no cache for XML data
I have a flash .swf that reads from an XML file. This file is updated frequently and I do not want it cached. Should I nocache it in the... -
Forcing a page NOT to load from cache
I have tried: <cfoutput> <cfheader name="expires" value="#now()#"> <cfheader name="pragma" value="no-cache"> <cfheader name="cache-control"... -
IIS 6 / ASP Cache will not refresh
I found the answer! It is a IIS 6 /ASP problem http://support.microsoft.com/default.aspx?scid=kb;en-us;332075 -
Need to cache personalization data -- not sure which object to use
Hi Matt, Although this might be considered a matter of preference, I'd advise you to store "per user" information in Session. The Cache object is... -
Data refresh
Hello! After that I have changed the filter of a form, how I get immediately after the new data displayed? (The textboxs are all linked to the... -
ntsiii #2
Re: Forcing a data refresh / overriding the cache
If the browser sees an url that is identical to one it has placed in the cache,
it will use the local data instead of calling the server again.
Do something like this:
private function getMydata():void {
MDATA.url = "/myPath.myXML.xml" + "?bogus=" + new Date().time;
MDATA.send();
That makes the Url unique, and the browser will call the server.
Note, the Flash Player, uses the browsers HTTP functionality.
Tracy
ntsiii Guest



Reply With Quote

