>- see footer for list info -<
Excellent idea, of course, adding a randomly generated URL var will cause
the query to be different, don't know why I didn't think of that.

Thanks

Lee Fortnam

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adrian Lynch
Sent: 22 January 2007 12:41
To: Coldfusion Development
Subject: RE: [CF-Dev] Cached File

>- see footer for list info -<
How about a query string, myxmlfile.xml?random=2321313

I do this in Flash to stop caching.

Adrian

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Lee Fortnam
Sent: 22 January 2007 10:49
To: 'Coldfusion Development'
Subject: [CF-Dev] Cached File


>- see footer for list info -<
Morning All,

I have a remote machine which checks a central server for an xml file, it
then parses the XML file and checks for a version number, if the version
number is the same as a local version number then nothing is done, if the
version number is greater then a series of files are downloaded and replace
the local version on the remote machine.

The xml file seems to be being cached and so when I increment the version
number in the xml file on the central server, the remote machine still
thinks it is the old file. The XML file is being picked up by a CFHTTP GET
request.

Any ideas, possibly changing the file name to include an element of date /
time so that it does not cache the file?????

Regards,

Lee Fortnam

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help 
>-<

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to