RE: CFHTTP, DNS Caching, and CF 9 won't behave.

2011-09-02 Thread Brook Davies
Is it an HTTPS connection? Have you added their cert to the Java KeyStore? Brook -Original Message- From: Eric Cobb [mailto:cft...@ecartech.com] Sent: September-02-11 12:00 PM To: cf-talk Subject: CFHTTP, DNS Caching, and CF 9 won't behave. So, I'm having a problem with CFHTTP

RE: CFHTTP, DNS Caching, and CF 9 won't behave.

2011-09-02 Thread Eric Cobb
: Friday, September 02, 2011 2:07 PM To: cf-talk cf-talk@houseoffusion.com Subject: RE: CFHTTP, DNS Caching, and CF 9 won't behave. Is it an HTTPS connection? Have you added their cert to the Java KeyStore? Brook -Original Message- From: Eric Cobb [mailto:cft...@ecartech.com] Sent

RE: CFHTTP and Caching

2007-12-28 Thread Ian Vaughan
G. Switzer, II [mailto:[EMAIL PROTECTED] Sent: 24 December 2007 12:43 To: CF-Talk Subject: RE: CFHTTP and Caching Ian, This is the error I am getting below even though weather_xml has been defined in the application.cfm page i.e. CFSET APPLICATION.weather_xml =XMLParse(cfhttp.FileContent) ERROR

RE: CFHTTP and Caching

2007-12-24 Thread Dan G. Switzer, II
Ian, This is the error I am getting below even though weather_xml has been defined in the application.cfm page i.e. CFSET APPLICATION.weather_xml =XMLParse(cfhttp.FileContent) ERROR IS Element WEATHER_XML is undefined in APPLICATION. My application.cfm page is cfset

RE: CFHTTP and Caching

2007-12-20 Thread Ian Vaughan
This is the error I am getting below even though weather_xml has been defined in the application.cfm page i.e. CFSET APPLICATION.weather_xml =XMLParse(cfhttp.FileContent) ERROR IS Element WEATHER_XML is undefined in APPLICATION. My application.cfm page is cfset

RE: CFHTTP and Caching

2007-12-19 Thread Ian Vaughan
://feeds.bbc.co.uk/weather/feeds/rss/5day/id/3314.xml; method=GET resolveurl=No/cfhttp CFSET APPLICATION.weather_xml =XMLParse(cfhttp.FileContent) /CFIF -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: 18 December 2007 11:59 To: CF-Talk Subject: Re: CFHTTP and Caching

Re: CFHTTP and Caching

2007-12-19 Thread Tom Chiverton
On Wednesday 19 Dec 2007, Ian Vaughan wrote: Where would structkeyexists go in the application.cfm page ? Round about where you check for application.foo's value, without checking foo exists in application. -- Tom Chiverton Helping to administratively deploy guinine environments on:

RE: CFHTTP and Caching

2007-12-19 Thread Ian Vaughan
APPLICATION.weather_xml =XMLParse(cfhttp.FileContent) /CFIF -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: 19 December 2007 11:37 To: CF-Talk Subject: Re: CFHTTP and Caching On Wednesday 19 Dec 2007, Ian Vaughan wrote: Where would structkeyexists go in the application.cfm page

Re: CFHTTP and Caching

2007-12-19 Thread Tom Chiverton
On Wednesday 19 Dec 2007, Ian Vaughan wrote: I have added the following but I am getting this error even though I have defined this in my application.cfm page Did you wait 20 minutes (or whatever your DateDiff interval is) ? -- Tom Chiverton Helping to autoschediastically supply value-added

RE: CFHTTP and Caching

2007-12-18 Thread Ian Vaughan
Subject: RE: CFHTTP and Caching However what can I use in Coldfusion to cache this CFHTTP request (every 2 hours)so that it does not request the RSS feed every time a user loads our webpage? Any ideas if this is possible ? We do this all the time, here are a couple of possibilities

Re: CFHTTP and Caching

2007-12-18 Thread Tom Chiverton
On Tuesday 18 Dec 2007, Ian Vaughan wrote: Any ideas on where I am going wrong ? structKeyExists() or similar -- Tom Chiverton Helping to conveniently synthesize enterprise niches on: http://thefalken.livejournal.com This email is sent for

RE: CFHTTP and Caching

2007-12-14 Thread Paul Vernon
However what can I use in Coldfusion to cache this CFHTTP request (every 2 hours)so that it does not request the RSS feed every time a user loads our webpage? Any ideas if this is possible ? We do this all the time, here are a couple of possibilities... Save the RSS feed to the DB or the

Re: CFHTTP and Caching

2007-12-13 Thread Todd
Use a schedule task to dump the result in the application scope? Every 3 hours or so, go get a new version of the xml? How do you want this to be done? On Dec 13, 2007 9:44 AM, Ian Vaughan [EMAIL PROTECTED] wrote: Hi I am using CFHTTP to get an RSS feed to display on our website. cfhttp

Re: CFHTTP and Caching

2007-12-13 Thread Tom Chiverton
On Thursday 13 Dec 2007, Ian Vaughan wrote: Could I just use cachedwithin=#CreateTimeSpan(0,3,0,0)# on the end of the CFHTTP statement ? Have you tried ? What happened ? Did you consult the documentation ? -- Tom Chiverton Helping to economically brand exceptional e-markets on:

RE: CFHTTP and Caching

2007-12-13 Thread Ian Vaughan
Could I just use cachedwithin=#CreateTimeSpan(0,3,0,0)# on the end of the CFHTTP statement ? If this cannot be done how do I dump the result in the application scope? -Original Message- From: Todd [mailto:[EMAIL PROTECTED] Sent: 13 December 2007 14:51 To: CF-Talk Subject: Re: CFHTTP

RE: CFHTTP and Caching

2007-12-13 Thread Russ
Just use cf_accelerate. It does all the heavy lifting for you. Russ -Original Message- From: Ian Vaughan [mailto:[EMAIL PROTECTED] Sent: Thursday, December 13, 2007 10:02 AM To: CF-Talk Subject: RE: CFHTTP and Caching Could I just use cachedwithin=#CreateTimeSpan(0,3,0,0

RE: CFHTTP and Caching

2007-12-13 Thread Ian Vaughan
in the code ? -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: 13 December 2007 15:17 To: CF-Talk Subject: Re: CFHTTP and Caching On Thursday 13 Dec 2007, Ian Vaughan wrote: Could I just use cachedwithin=#CreateTimeSpan(0,3,0,0)# on the end of the CFHTTP statement ? Have

Re: CFHTTP and Caching

2007-12-13 Thread Dave Anderson
Putting the result in the application scope is a good idea. Just do something like: cfif NOT structKeyExists(application,myRSSdata) OR NOT structKeyExists(application,myRSSdataTimestamp OR Now() GT dateAdd(h,3,application.MyRSSdataTimestamp) cfhttp result=application.myRSSdata / cfset