it is only happening onApplicationstart or is it being inserted into
every request ?
Russ
On Sat, Sep 24, 2011 at 12:31 PM, Rick Faircloth
r...@whitestonemedia.com wrote:
Ok... something to talk about besides $20/hr (which may look
really good, depending on how hungry you are...)
I
Message-
From: Russ Michaels [mailto:r...@michaels.me.uk]
Sent: Saturday, September 24, 2011 8:00 AM
To: cf-talk
Subject: Re: Code from cfhtmlhead showing up in jQuery AJAX JSON data
it is only happening onApplicationstart or is it being inserted into
every request ?
Russ
On Sat, Sep 24
To: cf-talk
Subject: Re: Code from cfhtmlhead showing up in jQuery AJAX JSON data
it is only happening onApplicationstart or is it being inserted into
every request ?
Russ
On Sat, Sep 24, 2011 at 12:31 PM, Rick Faircloth
r...@whitestonemedia.com wrote:
Ok... something to talk about besides
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
6 matches
Mail list logo