this is how I am getting the url
<mx:HTTPService id="login_user" result="checkLogin(event)"
showBusyCursor="true" method="GET"
url="https://cfg0013.zonarsystems.net/interface.php" >
<mx:request xmlns="">
<customer>
{customer.text}
</customer>
<username>
{username.text}
</username>
<password>
{password.text}
</password>
</mx:request>
</mx:HTTPService>
I'm not seeing where I could append it in that situation.
This is where I am resetting the form
private function resetForm():void{
tempXML.asset = tempXML.asset;
}
Would I need to add a new url?
--- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> Append it to the Url before you call the data service.
>
> Tracy
>
>
>
> ________________________________
>
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of markcavins
> Sent: Monday, January 07, 2008 7:15 PM
> To: [email protected]
> Subject: [flexcoders] Re: caching issues
>
>
>
> But where would you put this? this is the issue that is getting me
> confused is where to handle the url
>
> --- In [email protected] <mailto:flexcoders%40yahoogroups.com>
> , "Tracy Spratt" <tspratt@> wrote:
> >
> > The server side solution is iffy. The most reliable solution is to
> > append some unique string to the Url. Some folks use Math.random, but
> > more have had success using Date.getTime()
> >
> > Tracy
> >
> >
> >
> > ________________________________
> >
> > From: [email protected] <mailto:flexcoders%40yahoogroups.com>
> [mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
> ] On
> > Behalf Of markcavins
> > Sent: Monday, January 07, 2008 7:03 PM
> > To: [email protected] <mailto:flexcoders%40yahoogroups.com>
> > Subject: [flexcoders] caching issues
> >
> >
> >
> > Hello,
> >
> > I am having problems getting my flex application to refresh data once
> > it has been updated on the server side and believe it is a caching
> > issue.
> >
> > In my PHP I set the caching to no cache
> >
> > header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in
> > the past
> > header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); //
> > always modified
> > header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
> >
> > but the flash player doesn't seem to respect it.
> >
> > I have written a function in as that I believe I would have to add the
> > caching into
> >
> > private function resetForm():void{
> >
> >
> >
> > tempXML.asset = tempXML.asset;
> > }
> >
> >
> > however I'm still a noob and not sure how to get it going.
> >
> > Any help would be great.
> >
>