No, but then why should i? If the methods were getting called then the
?.started variables would be getting set, but only request.started is
getting set.

Bert

On Fri, 11 Feb 2005 06:32:53 -0500, Calvin Ward <[EMAIL PROTECTED]> wrote:
> Are you restarting CF before you request index.cfm?
> 
> -----Original Message-----
> From: Bert Dawson [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 11, 2005 5:48 AM
> To: CF-Talk
> Subject: can't get onApplicationStart to fire...
> 
> I can't seem to get onApplicationStart to run, nor onSessionStart, but
> on request start works fine. I'd be grateful if someone could caste an
> eye over my code to see if they can spot what i'm doing wrong:
> 2 files in a directory: Application.cfc and index.cfm:
> ------------------------------------------
> Application.cfc:
> <cfcomponent>
> 
> <cffunction name="onApplicationStart" returnType="boolean">
>         <cfset application.started = now()>
>         <cfreturn True>
> </cffunction>
> 
> <cffunction name="onRequestStart" returnType="boolean">
>         <cfset request.started = now()>
>         <cfreturn True>
> </cffunction>
> 
> <cffunction name="onSessionStart" returnType="void">
>         <cfset session.started = now()>
> </cffunction>
> 
> </cfcomponent>
> ------------------------------------------
> index.cfm:
> <cfapplication name="#CreateUUID()#"
>         clientmanagement="No"
>         sessionmanagement="Yes"
>         setclientcookies="No">
> 
> <cfdump var="#application#">
> 
> <cfdump var="#request#">
> 
> <cfdump var="#session#">
> ------------------------------------------
> 
> When i run index.cfm only request.started has been set (plus
> application.name, session.jsessionid and session.urltoken, and
> request.cfdumpinited).
> TIA
> Bert
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194214
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