ill try tonight, and let you know.

the code is on a template at home... ill eff with it tonight, and hit
ya'up if it still is making me crazy :)

tw

On 5/23/06, Raymond Camden <[EMAIL PROTECTED]> wrote:
> Can you show us the code? Also, why not use onRequestStart? onRequest
> has "side effects" that can come back to haunt you. If you are just
> setting request vars, I'd recommend onRequestStart.
>
> On 5/23/06, Tony <[EMAIL PROTECTED]> wrote:
> > ray, et al.
> >
> > im having a STRANGE Application.cfc issue.
> >
> > im setting a request var in the onRequest() method
> > and the value isnt available a page on the first load after
> > restarting the cfmx server.  2nd, 3rd, 4th load of page
> > works fine.
> >
> > but the first one out of the gate, isnt working.
> >
> > any ideas?
> >
> > tw
> >
> > On 5/23/06, Raymond Camden <[EMAIL PROTECTED]> wrote:
> > > About 99% of the code I've seen out there just set a bunch of
> > > Application constansts and components, so this is fine. Don't forget
> > > it, of course, but most folks won't be impacted by it. I typically add
> > > this to onRequestStart:
> > >
> > > <cfif structKeyExists(url, "reinit")>
> > > <cfset onApplicationStart()>
> > > </cfif>
> > >
> > > On 5/23/06, Brian Kotek <[EMAIL PROTECTED]> wrote:
> > > > Yep, exactly. However, note that CF only single-threads 
> > > > onApplicationStart()
> > > > automatically when IT runs it. If YOU manually re-run 
> > > > onApplicationStart(),
> > > > you must lock that method call if you want to prevent race conditions.
> > > >
> > > > On 5/23/06, Jochem van Dieten <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Snake said:
> > > > > > As  OnApplicationstart only executes once at the start of an
> > > > > > application this does means you couldn't use it to reset your
> > > > > > application variables, which is a pain IMHO.
> > > > >
> > > > > Just call OnApplicationstart from somewhere else in application.cfc.
> > > > >
> > > > > Jochem
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241239
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to