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
: 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
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
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
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
://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
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:
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
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
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
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
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
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
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:
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
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
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
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
18 matches
Mail list logo