Once you convert it into a CF structure using deserializeJSON, you can then
use cfdump to see how CF interprets it.
On Tue, Apr 7, 2015 at 12:31 PM Robert Harrison rharri...@aimg.com wrote:
Let me make this simpler. The value being send via an ajax post is:
Object {name: rid, value: 1
, Robert Harrison (rharri...@aimg.com) wrote:
I'm sending an Ajax post to a CF page. The post data looks like (below) in
the counsel:
Object {name: rid, value: 1}
How in the heck to I get that value on the ColdFusion page?
Robert Harrison
Full Stack Developer
AIMG
mailto:rharri
Let me make this simpler. The value being send via an ajax post is:
Object {name: rid, value: 1}
If I just want to dump that value/object how to I do it? I have no idea
what name CF see that as.
Robert Harrison
Full Stack Developer
AIMG
rharri...@aimg.com
Main Office: 704-321-1234 ext.118
Looks like a basic JSON value. Just parse it and you should have it put
into a variable.
or am I not understanding the question? I have yet to have my morning
coffee.
On Tue, Apr 7, 2015 at 8:55 AM, Robert Harrison rharri...@aimg.com wrote:
I'm sending an Ajax post to a CF page. The post
Solved. The problem was I was overcomplicating this and treating it like
JSON just like everyone else has been advising.
With an AJAX post, the string: Object {name: rid, value: 1}
Appears to Coldfusion as form values. The values #form.name# and
#form.value# give me rid and 1.
Too
You can very easily convert it to a structure using the deserializeJSON
function in CF. Here is a link with some examples of working with JSON in
ColdFusion. http://www.learncfinaweek.com/week1/JSON/
On Tue, Apr 7, 2015 at 11:55 AM Robert Harrison rharri...@aimg.com wrote:
I'm sending an Ajax
I'm sending an Ajax post to a CF page. The post data looks like (below) in
the counsel:
Object {name: rid, value: 1}
How in the heck to I get that value on the ColdFusion page?
Robert Harrison
Full Stack Developer
AIMG
mailto:rharri...@aimg.com rharri...@aimg.com
Main Office
I always just comment out the cfthread to single thread it and test there's
no errors.
On Monday, March 16, 2015, John Pullam jpul...@mcleansystems.com wrote:
The original answer that this does work was enough to get me headed in the
right direction. I eventually found a bug in my code; the
The original answer that this does work was enough to get me headed in the
right direction. I eventually found a bug in my code; the CFTHREAD was starting
up the task correctly.
~|
Order the Adobe Coldfusion Anthology now!
/15, 3:47 PM, John Pullam jpul...@mcleansystems.com wrote:
It seems to me that the CFTHREAD I attempt to start from inside an Ajax
routine (triggered by a CFWINDOW) never runs and doesn't generate any
error message. Can anyone advise if this is a legitimate thing to do
to run without waiting
for the thread to finish unless a join action is performed.
Dave
-Original Message-
From: Bobby [mailto:bo...@acoderslife.com]
Sent: Thursday, March 12, 2015 10:49 AM
To: cf-talk
Subject: Re: Can you use a CFTHREAD inside an Ajax routine?
When you say it doesn¹t
It seems to me that the CFTHREAD I attempt to start from inside an Ajax routine
(triggered by a CFWINDOW) never runs and doesn't generate any error message.
Can anyone advise if this is a legitimate thing to do?
~|
Order
Yes, this works. I do it for an application I'm working on. The ajax call
hits a page with a cfthread and it runs fine.
I do have problems when that cfthread calls other cfm/cfc pages that also have
cfthread in them. When that happens I get an error.
Steve
-Original Message-
From
I have an ajax request calling a ColdFusion template. Each time the ajax
function is called, the ColdFusion template should return the next 20 rows of a
query. I am running into an issue where the browser thinks the ColdFusion
template hasn't changed since a 304 http status code is returned
Odell Plaza, Yonkers, NY 10701
914-457-6465 Office
dphe...@emerginghealthit.com
www.emerginghealthit.com
www.montefiore.org
From: Donnie Carvajal donnie.carva...@transformyx.com
Sent: Wednesday, August 27, 2014 1:00 PM
To: cf-talk
Subject: AJAX request
i am stuck.
cant show any code. but most of it is old.
tried to stick a simple move multi select box into an existing page that
does all sort of ajax call i can figure out.
the jq stuff work fine in most/90% of the site
just this one page it is confusing me..
may have to re-write the form
of it is old.
tried to stick a simple move multi select box into an existing page that
does all sort of ajax call i can figure out.
the jq stuff work fine in most/90% of the site
just this one page it is confusing me..
may have to re-write the form.
sick of ajax and cf7.
=]
any ideas
I'll try that. Thanks.
-Original Message-
From: morgan lindley [mailto:greyk...@gmail.com]
Sent: Tuesday, May 21, 2013 3:45 PM
To: cf-talk
Subject: Re: odd (I think) ajax related problem
Use the complete/success/callback of your ajax call to run this code block:
var x = $('#TheBldg
1. Load a page
2. Use an ajax call and jQuery to populate a select (verified that the value
I'm seeking is loaded)
3. Using a passed parameter (stored in a hidden field), set the proper option
to selected (and this code could be optimized, before anyone mentions it)
I've done this many times
an ajax call and jQuery to populate a select (verified that the value
I'm seeking is loaded)
3. Using a passed parameter (stored in a hidden field), set the proper option
to selected (and this code could be optimized, before anyone mentions it)
I've done this many times and it works
Subject: Re: odd (I think) ajax related problem
Are you getting an error? If so, what is it? If not, I suspect the
large number of values for the form select may be killing your page
render. Are you having the same results in all browsers?
On Tue, May 21, 2013 at 7:54 AM, Stephens, Larry V
Use the complete/success/callback of your ajax call to run this code block:
var x = $('#TheBldg').val(); // storage of passed parameter
alert(x);
if ( x.length 0 ) { $('#bldgID').val(x).prop('selected',true); }
That should ensure the select is available to jquery before attempting to
set
Hi,
my website and shared ssl use different servers (my site is hosted). Can
someone tell me for sure if ajax can work with shared ssl. When I try to use
ajax with shared ssl I get a security type error. I could have sworn that this
had been working fine, but now I get an error. I am wondering
Are you saying your HTML is NOT on the Shared SSL and your Ajax resource
is? If so, you're going to run into the cross domain security issue. You
can use JSON/P or CORS to get around it.
On Fri, Mar 22, 2013 at 8:30 AM, Byte Me byteme...@verizon.net wrote:
Hi,
my website and shared ssl use
Are you saying your HTML is NOT on the Shared SSL and your Ajax resource
is? If so, you're going to run into the cross domain security issue. You
can use JSON/P or CORS to get around it.
Hi,
my html Ajax resource is not on the same server as the shared ssl server.
This is what I got back
to
www.acme.com/yoursite.com
So you are using 2 different domains.
Browsers will not allow you to send data between 2 different domains for
security reasons, otherwise this would allow malware scripts to grab
your account details from site1 and send them to site2.
Therefore any Javascript/Ajax code you use
Ajax resource
is? If so, you're going to run into the cross domain security issue. You
can use JSON/P or CORS to get around it.
Hi,
my html Ajax resource is not on the same server as the shared ssl server.
This is what I got back when I submitted my trouble ticket:
The issue
OK,
I got it to work using a widget called AjaxRequest that I read about in the
book Ajax Design Patterns. Thanks for the assistance.
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion
I have been using CF for 8 years and now have a project that I think ajax will
be great for, but I don't understand how to get started. I have looked at some
tutorials, but I don't understand where to place the CFC's that will return the
ajax data... Can anyone recommend a good book
On Thu, Mar 21, 2013 at 7:26 AM, Huff, Jerome P (IS) jerome.h...@ngc.comwrote:
I have been using CF for 8 years and now have a project that I think ajax
will be great for, but I don't understand how to get started. I have
looked at some tutorials, but I don't understand where to place
If you are interested in the AJAX features built into ColdFusion then the
best place to start would be the free Adobe CF manuals.
http://help.adobe.com/en_US/ColdFusion/9.0/Developing/index.html
That is all that I used when learning how to use the features, along with
experimentation in code
. It might be a bit dense to get started but he
documents things nicely.
http://www.bennadel.com/blog/1515-Ask-Ben-Building-An-AJAX-jQuery-And-ColdFusion-Powered-Application.htm
That should get you going. Have fun!
G!
On Thu, Mar 21, 2013 at 7:26 AM, Huff, Jerome P (IS) jerome.h...@ngc.comwrote:
I
You don't necessarily have to turn it off. Just select dockable.cfm - that I
believe allows you to have debugging on while using Ajax.
That said, I've found it much better simply to use the firebug and web tools
plugins in either FF or Chrome to debug Ajax requests.
This is a great move
This is a great move and highly recommended for the reasons you mention, but
also if you plan to go mobile. Just a tip for you...make sure you turn CF
debugging OFF when testing your jquery ajax calls because if you leave it on,
it may appear that your ajax is not working at all with no js
If you are on a properly patched (and updated) version of CF 9.01 or
higher, then CF Debugging will/should have no effect on your ajax calls,
if you are directly calling a cfc.
Steve 'Cutter' Blades
Adobe Community Professional
Adobe Certified Expert
Advanced Macromedia ColdFusion MX 7
I know this isn't technically a CF question (even though I'm using CF), but
I need some help putting a JS variable into a URL string to perform an Ajax
hit. It will probably take someone smarter than me about 2 minutes to
figure out, please contact me off-list if you think you can help. I'll
Hi Folks,
We're getting ready to implement some ajax code in our application to enable
queries (esp inserts and updates) to run without having to do a full page
refresh (the main goal being to just improve page load performance).
There's obviously a lot of info out there on this topic and I'm
I would really suggest using the stuff built into CF.
Your better off using jquery, there are tons of tutorials out ther eon
jquery and jquery with CF.
On Mon, Jan 7, 2013 at 11:28 PM, Nick Gleason n.glea...@citysoft.comwrote:
Hi Folks,
We're getting ready to implement some ajax code
YoururlString += YourVar += yourvalue
On Mon, Jan 7, 2013 at 7:48 PM, Les Irvin les.cft...@gmail.com wrote:
I know this isn't technically a CF question (even though I'm using CF), but
I need some help putting a JS variable into a URL string to perform an Ajax
hit. It will probably take
08, 2013 8:58 AM
To: cf-talk
Subject: Re: Ajax inserts / updates and CF
I would really suggest using the stuff built into CF.
Your better off using jquery, there are tons of tutorials out ther eon
jquery and jquery with CF.
On Mon, Jan 7, 2013 at 11:28 PM, Nick Gleason n.glea...@citysoft.comwrote
, jQuery was much
easier for me to learn.
Rick
-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk]
Sent: Tuesday, January 08, 2013 8:58 AM
To: cf-talk
Subject: Re: Ajax inserts / updates and CF
I would really suggest using the stuff built into CF.
Your better off
I would advise being a bit more careful about this. I agree - don't use the
stuff built in CF directly - but I think we are all talking about the CF
UI stuff. I consider the CFC/returnFormat=json as part of CF's Ajax
support and I'd definitely recommend using it.
On Tue, Jan 8, 2013 at 1:05 PM
://www.raymondcamden.com/index.cfm/2011/6/15/Example-of-using-Chrome-Dev-tools-to-solve-Ajax-issues
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Camden raymondcam...@gmail.com
wrote:
Here is a video demonstrating chrome dev tools:
http://www.raymondcamden.com/index.cfm/2011/6/15/Example-of-using-Chrome-Dev-tools-to-solve-Ajax-issues
~|
Order the Adobe
OK, so I gave up on the Spry version of the database validation and moved onto
AJAX (a language I really don't know a lot about but I am slowly figuring it
out). Anyway, I have the code working the way I want with the exception that
when the validation is done, whether the code is valid
I'll take a look, but I need to nitpick something. AJAX isn't a language.
It is simply the name of a technique used in JavaScript to communicate with
a server. Spry uses AJAX too. (But don't use Spry anymore. It's old like
Donkey Kong.)
On Thu, Dec 20, 2012 at 7:49 PM, Bruce Sorge sor
at 8:51 PM, Raymond Camden raymondcam...@gmail.comwrote:
I'll take a look, but I need to nitpick something. AJAX isn't a language.
It is simply the name of a technique used in JavaScript to communicate with
a server. Spry uses AJAX too. (But don't use Spry anymore. It's old like
Donkey Kong
Here is a video demonstrating chrome dev tools:
http://www.raymondcamden.com/index.cfm/2011/6/15/Example-of-using-Chrome-Dev-tools-to-solve-Ajax-issues
On Thu, Dec 20, 2012 at 8:54 PM, Raymond Camden raymondcam...@gmail.comwrote:
As to your error, it is very obvious if you use the Chrome Dev
-Ajax-issues
On Thu, Dec 20, 2012 at 8:54 PM, Raymond Camden
raymondcam...@gmail.comwrote:
As to your error, it is very obvious if you use the Chrome Dev Tools. I
cannot stress this enough. You *need* to learn how to use your browser dev
tools as it makes this stuff a heck of a lot easier
The response string is returned in the callback. Just .split(|) it to
get a javascript array. Then do whatever you need to in the response
callback.
script type=text/javascript
$.ajax({
type: POST,
url: authNetURL,
data: { ... }
}).done(function( data
Hi, Jonah...
I tried incorporating your code below into my existing AJAX script,
but I got the same exact response from the form submission:
successful processing (received transaction notification and receipt)
and then the AJAX script stops functioning and does process through
the success
I don't quite know how you're using that endpoint with AJAX.
If you click on that URL in firebug, you'll see you're not actually
getting a response at all.
Also, try your form in Chrome.
I get this in the console:
XMLHttpRequest cannot load
https://test.authorize.net/gateway/transact.dll
When you say endpoint, you mean the success
section of the code? That's always the way I do AJAX
when I'm sending requests to component methods for processing.
Is there something about sending a post to another
server/domain that makes that unworkable?
not actually getting a response at all
taken a look at its docs and examples?
Once you have that method working and you really want to try something
new you could try to migrate it to posting via AJAX instead of directly...
On 9/23/12 6:27 PM, Rick Faircloth wrote:
When you say endpoint, you mean the success
section of the code
Judah... (or anyone else...)
I'm running successful transactions to Authorize.net from
my form using AJAX to post that data to Authorize.net.
I know the transactions are successful, because I'm getting
Customer Receipts (to myself) and Merchant Receipts (again
to myself). However
you need to take ajax out of the loop and do a regular http post, and then
look at the response that comes back, then you will see what variables they
are sending you and you can then adjust your ajax code accordinly
On Sat, Sep 22, 2012 at 10:22 PM, Rick Faircloth
r...@whitestonemedia.comwrote
5:40 PM
To: cf-talk
Subject: Re: Question about using AJAX with Authorize.net
you need to take ajax out of the loop and do a regular http post, and then
look at the response that comes back, then you will see what variables they
are sending you and you can then adjust your ajax code accordinly
After running a regular form post (no AJAX, no CFHTTP),
I get back all my form values in a pipe-delimited string,
along with Authorize.net's approval code and other transaction
info they return. The submission is a success. I get the
successful email notification, etc.
However, I'm still
Wait, you're doing this in CF?
Just use the cfpayment library: http://cfpayment.riaforge.org/ or the
the good parts of the authorizenet.cfc by itself.
On 9/22/12 7:23 PM, Rick Faircloth wrote:
After running a regular form post (no AJAX, no CFHTTP),
I get back all my form values in a pipe
Thanks for the tip, Jonah... let me check it out.
Rick
-Original Message-
From: .jonah [mailto:jonah@creori.com]
Sent: Saturday, September 22, 2012 11:12 PM
To: cf-talk
Subject: Re: Question about using AJAX with Authorize.net
Wait, you're doing this in CF?
Just use
in
the delimited string they return.
Using jQuery AJAX to submit my form, I'm not sure what variable
(like filecontent for cfhttp) it would come in so I can reference it.
Does that make sense?
Rick
-Original Message-
From: Rick Faircloth [mailto:r...@whitestonemedia.com]
Sent: Sunday, September 23
to implement an AJAX solution to
intercept the formfield data that is applicable to the transaction
and is required by Authorize.net and submit that via AJAX to a method
in a cfc, which will send the pertinent data to Authorize.net.
In the success section of the AJAX solution to Authorize.net, I'll
well it depends how you process.
if you redirect to authorize.net and then come back to your site, then why
not simply send your thank you email after they are redirected back to your
site, this is how most folks do it. The ajax stuff seems a bit overkill.
If your processing serverside, then you
I work so much using AJAX I may not be able to see the forest
for the trees.
Without using AJAX and using its success callback function,
how else will I send (my) thank you email after they are redirected
back to (my) site ? My first thought is to use the AJAX success
callback as the means
you send a unique transactionID along, which they then send back to you on
the callback, which identifies the user, so you can send them the thank you
email.
You
On Tue, Sep 18, 2012 at 7:11 PM, Rick Faircloth r...@whitestonemedia.comwrote:
I work so much using AJAX I may not be able to see
Hi Rick
I use authorize.net and i can submit all sorts of personal information, name
address email address etc. in the x_variable customer information. perhaps I
am not sure what information you are suggesting
However i do what Russ suggests, I submit the information for processing as a
personally
identifiable information to their servers.
We have a form which includes personally identifiable information
for emailing thank-you's, etc.
Therefore, I'm planning to implement an AJAX solution to
intercept the formfield data that is applicable to the transaction
and is required
-
From: Judah McAuley [mailto:ju...@wiredotter.com]
Sent: Tuesday, September 18, 2012 3:31 PM
To: cf-talk
Subject: Re: Question about using AJAX with Authorize.net
You have to send Auth.net personally identifying information in order
to use AVS (the address verification service), so I know
Ah, gotcha. The key there is definitely the merchant defined fields.
They do not want you to send them personally defined information that
they then post back to you (the x_ fields that you mentioned).
I think you are on target with your ajax option. The other option is
to post back to your
Hi rick
I take this to mean anything downstream of their portal, but surely anything
upstream on your server and your form is yours.
If you do have any concerns I would call authorize.Net tech support. I have
found them to be very helpful.
rob
Robert J. Voyle, Psy.D.
Director, Clergy
if JS didn't
find any in the form data, since I program CF to validate the same
way the JS does.
You mentioned the transaction key and password. I'll provide that data
in the JS processing and assign the values there before submitting
the data via AJAX. Would that be secure?
Rick
-Original
-Original Message-
From: Rob Voyle [mailto:robvo...@voyle.com]
Sent: Tuesday, September 18, 2012 6:35 PM
To: cf-talk
Subject: Re: Question about using AJAX with Authorize.net
Hi rick
I take this to mean anything downstream of their portal, but surely anything
upstream on your server and your form
I've got this code:
myspan.innerHTML += 'ul'
for(i=0; ipresentation.DATA.length; i++) {
myspan.innerHTML +=
'li class=grey_homepage_texta href=' +
presentation.DATA[i][presentation.COLUMNS.findIdx('PATH')]
+ '' + presentation.DATA[i][presentation.COLUMNS.findIdx('TITLE')]
+
Got it.. I just made a long string and then at the end set the innerHTML
value to the string.. works like a charm!
On Fri, Sep 14, 2012 at 2:15 PM, Greg Morphis gmorp...@gmail.com wrote:
I've got this code:
myspan.innerHTML += 'ul'
for(i=0; ipresentation.DATA.length; i++) {
Hi everybody have this
cflayout name=tabtest type=tab
cflayoutarea name=tab1 title=Data SJ source=tab1.cfm
/cflayoutarea
cflayoutarea name=tab2 title=Dati
Personali
Alex,
Did you intend to include more here? Not seeing a question
First peek, there's no closing cflayout tag, your 3rd tab should use the
'source' attribute, like your others, for consistency, and it appears
that your code formatting is way off. Something like:
cflayout name=tabtest
Yes steve sorry my question here is on the cflayoutarea2 tab 2 is a form that
submits on an action page after it executes it goes back to the calling form
from the tab but doesn't show the the updated form.. just blank even if I use
the
javascript below after the action query
script
We would need to see the code of the cfm in tab2, and it's form's
processor script, to help you out here.
Steve 'Cutter' Blades
Adobe Community Professional
Adobe Certified Expert
Advanced Macromedia ColdFusion MX 7 Developer
http://cutterscrossing.com
Co-Author Learning Ext JS
any indication
of back/forth communication. I liked how Chrome groups js and css activities
together so I can see where to spend some time cleaning things up. I
appreciate your suggestion. Fiddler 2 does a good job for showing the traffic
and shows that the ajax requests complete successfully
things up. I appreciate your suggestion. Fiddler 2 does a good job for
showing the traffic and shows that the ajax requests complete successfully.
It's that different behaviour of refreshing the page with querystring
params after completing that I'm out to determine the cause.
Perhaps you can
the usual culprit with page reloading on ajax request is forgetting to
prevent the default action (click/submit) of the element that triggers
ajax call. if your ajax call is part of a function bound to an
anchor's click event, or a submit type input/button element - check
that you do have
another thing i would check is to make sure your codebase is exactly the
same
Especially the Jquery code base. I have had numerous problems in that regard
as well.
Dennis Powers
UXB Internet - A website Design and Hosting Company
P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844
W:
Hello, thank you for any assistance with this puzzler.
On my local Windows Vista development machine, I'm using CF 9. Here I have a
JavaScript call JQuery's $.ajax() method to write some text to a database using
a web service in a CFC. On my machine, it works as expected: writes the
values
wrote:
Hello, thank you for any assistance with this puzzler.
On my local Windows Vista development machine, I'm using CF 9. Here I
have a JavaScript call JQuery's $.ajax() method to write some text to a
database using a web service in a CFC. On my machine, it works as
expected: writes
This might be caused by the persitent cache in bug in Explorer.
I put these lines in the template called by the Ajax function, and the problem
is solved.
cfheader name=Cache-Control value=no-store /
cfheader name=Pragma value=no-cache /
cfheader name=Expires value=Tue, 16 Oct 1973 00:00:00 GMT
Has anyone experienced this?
In IE (6 and upwards) whenever I use an AJAX control (such as cfgrid), after a
couple of times of renderings (like switching to other pages and back), the
control will no longer be rendered properly, leaving behind a very thin line
that looks like the bounding
Sorry, forgot to mention that I'm using CF8.
Has anyone experienced this?
In IE (6 and upwards) whenever I use an AJAX control (such as cfgrid),
after a couple of times of renderings (like switching to other pages
and back), the control will no longer be rendered properly, leaving
= '#js_siteName#';
var js_website = '#js_website#';
var js_site_manager_dsn = '#js_site_manager_dsn#';
var js_client_dsn = '#js_client_dsn#';
/script
/cfoutput
However, I just coded a page to load its content via jQuery AJAX
which accesses
= '#js_site_manager_dsn#';
var js_client_dsn = '#js_client_dsn#';
/script
/cfoutput
However, I just coded a page to load its content via jQuery AJAX
which accesses a CFC method which uses cfSaveContent to generate
the page.s HTML and then saves that to a document, which
Only onApplicationStart currently.
I thought about using onRequestStart, but it needs to
always be on the page, anyway, so I thought I'd do it once
in the onApplicationStart routine.
Is that a problem?
Oh, wait... do you mean every page request or every
AJAX request for data?
-Original
, anyway, so I thought I'd do it once
in the onApplicationStart routine.
Is that a problem?
Oh, wait... do you mean every page request or every
AJAX request for data?
-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk]
Sent: Saturday, September 24, 2011 8:00 AM
You wouldn't put it in onApplicationStart, but onRequest (cf9+).
onRequest is only triggered on cfm requests, whereas a cfc would trigger
onCFCRequest. (I am assuming your Ajax requests are going to a CFC)
Set up your js vars in onApplicationStart
cfscript
application.siteDetail
Subject: Re: Code from cfhtmlhead showing up in jQuery AJAX JSON data
You wouldn't put it in onApplicationStart, but onRequest (cf9+).
onRequest is only triggered on cfm requests, whereas a cfc would trigger
onCFCRequest. (I am assuming your Ajax requests are going to a CFC)
Set up your js vars
'Cutter' Blades [mailto:cold.fus...@cutterscrossing.com]
Sent: Saturday, September 24, 2011 8:41 AM
To: cf-talk
Subject: Re: Code from cfhtmlhead showing up in jQuery AJAX JSON data
You wouldn't put it in onApplicationStart, but onRequest (cf9+).
onRequest is only triggered on cfm requests
I switched to cffeed. I'm afraid we'll hit Twitter's limit too easily.
I've already seen it in on the staging site.
Thanks, I knew that about the client side javascript, I was just
thinking that somehow the CF could pre-render that.
Working too late, too many hours
-Matt
On Tue, Sep 13,
Well, cf can pre-render it. Two ways you could accomplish this are a) use
twitter's api to get the tweets on the server side and cache it. or b)
create another js function that takes the tweet results and passes them back
to the server for caching, thus avoiding api development.
On Wed, Sep 14,
I have some divs that are populated with tweet.js (jquery plugin for
twitter). So on document.ready(), the divs are populated by the
plugin.
I don't want to hit twitter on every page load and want to cache the
populated divs somehow.
Is there a way to take those populated divs and cache them?
JavaScript is run on the client side, so unless that JavaScript is pointed to
your server to get the information...
You will need to find another way.
--
William Seiter
On Sep 13, 2011, at 4:12 PM, Matt Williams mgw...@gmail.com wrote:
I have some divs that are
Not on the client side. Either way you have to hit a server. Better
Twitter's than yours I'd say.
On Tue, Sep 13, 2011 at 7:12 PM, Matt Williams mgw...@gmail.com wrote:
I have some divs that are populated with tweet.js (jquery plugin for
twitter). So on document.ready(), the divs are
Is there a limit to the number of simultaneous AJAX requests that will run? For
example, in my Coldfusion Administrator in the âRequest Tuningâ section,
the setting âMaximum number of simultaneous Template requestsâ is set to
20. So if more than 20 Template requests come in at one time
1 - 100 of 1842 matches
Mail list logo