Ask a Question related to Macromedia Flash Data Integration, Design and Development.
-
HuguerasVagueras #1
Problems with cache - PHP returns always the same XML
Hello,
I've develope an aplication in Flash MX 2004, using PHP&XML to comunicate the
aplication with the DDBB.
Then, If I load an XML object in flash
XMLObjet.load(....program.php?variables...) all is ok, I've all the data that I
need, but if I change the values in the DDBB and without closing the explorer I
ask again to load the XMLObject, then it returns the same XML.
I've tryed to configure the explorer to ask allways if the document has
changed (in the tools menu, temporary documents or cache) and then it works.
But I need that everytime that I reload the XMLObject, it takes the current
information in the database, not from the cache. And it must work in every
explorer with any configuration.
?Could anybody help me to do that??Does anybody knows how to re-load allways
the information from the dataBase without cache?
Thank's a lot.
Hugo.
HuguerasVagueras Guest
-
Problems with Trust Cache
:confused; We are having a problem with response time to our webservers running CF ver. 5 . This started after a template change was made by our... -
Cache DataGrid Datasource, Add/Delete rows and rebind problems
Hi all, Is there any way to cache the Datasource of datagrid and allow to add/delete row in cache, then rebind the datagrid from cached... -
Cache with Callback problems... threading?
I'm having a problem using the Cache object with asp.net. Here is what I have: 1) I put something in cache and set its callback method. 2) The... -
Safari Cache problems with Flash in DWMX?
I have a flash site created in DWMX. A button on the page in flash pops up a new window, containing flash navigation to choose between different... -
PB1400C/NUpowr G3 1400 cache problems
Hi folks, Some time ago the control panel for this hardware started to refuse to take any backside cache speed setting, stating that too high a... -
andersonsidney #2
Re: Problems with cache - PHP returns always the sameXML
Hello. I think I have read taht you can use META tags in HTML to tell the
browser not to cache the data. Sorry I don't remember the command but it may
be worth a look. I'll try and find the command and post it.
andersonsidney Guest
-
HuguerasVagueras #3
Re: Problems with cache - PHP returns always the sameXML
Thanks, but I'm not using HTML but XML. If you know any tag for XML to tell the
browser not to cache the data it'll be the solution. The HML meta tag, I think
that's not the soolution because i'm not using HTML (only the one that contents
the flash object)...
Thnak you very much.
Hugo.
HuguerasVagueras Guest
-
LuigiL #4
Re: Problems with cache - PHP returns always the sameXML
Your call to the php-script should be unique every time. For instance, generate
a random number and add that number to your query-string. Or use this method
(thanks to David Powers):
"http://www.mydomain.com/program.php?ck="+new Date().getTime()
LuigiL Guest
-
HuguerasVagueras #5
Re: Problems with cache - PHP returns always the sameXML
Fantastic!!
I think it's the most simple solution for my big problem, but I think it's the
better too!
I'll try and i'll post the result, but i'm sure it'll works perfect.
Thank you very much Luigi. You have saved my neck ;P (I hope)
HuguerasVagueras Guest
-
Sumant Agwekar #6
Re: Problems with cache - PHP returns always the sameXML
I am also facing this problem. Could you get the solution of it. I will appreciated your help.
Thanks
Sumant
Sumant Agwekar Guest
-
LuigiL #7
Re: Problems with cache - PHP returns always the sameXML
Sumant,
You call (in a onLoad handler for your LoadVars-object) to a php-script should be like this:
"http://www.mydomain.com/program.php?ck="+new Date().getTime()
LuigiL Guest



Reply With Quote

