RE: Application CFC and the URL.

2006-09-06 Thread Ben Nadel
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

Re: Application CFC and the URL.

2006-09-06 Thread Matt Williams
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

RE: Application CFC and the URL.

2006-09-06 Thread Dave Watts
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

Re: Application CFC and the URL.

2006-09-06 Thread Will Tomlinson
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

RE: Application CFC and the URL.

2006-09-06 Thread Ian Skinner
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