I use the CGI and URL values in my OnApplicationStart() method with no
problems ( I think ). Although an also initialize outside of on
applicationStart method... So not sure. All I know is the site works.
...
Ben Nadel
www.bennadel.com
Certified Advanced ColdFusion Developer
Depends on when you want the code to execute. If it is a URL variable,
you probably want it onRequestStart.
On 9/6/06, Ben Nadel [EMAIL PROTECTED] wrote:
I use the CGI and URL values in my OnApplicationStart() method with no
problems ( I think ). Although an also initialize outside of on
Which events in the application.cfc framework, if any, would
have access to URL variables?
I would guess: onRequestStart, onRequestEnd, and onRequest.
In more specific terms, if I wanted to have an
application.cfc function called based on the existence and|or
value of a url variable, how
I use URL in onRequestStart() for an affiliate tracking program. Works fine.
Will
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to
You would check for its existence in, say, onRequestStart, then call the
appropriate function. Presumably, you want to reinitialize your application?
You can invoke onApplicationStart from within onRequestStart.
Not the whole application, just one variable. I created a function that
5 matches
Mail list logo