The error could also be in one of those included files. Abort doesn't 
thow an exception unless you say something like <cfabort 
showerror="error message here">. I'd take a look at your included files 
and make sure there's nothing in there.

Also which log file are you looking at?

Cheers,
Chris

Ben Nadel wrote:
> I think the CFAbort might be throwing an error (the nature of CFAbort).
> Try putting in <cfreturn false /> instead of CFAbort.
>
> ......................
> Ben Nadel
> Certified Advanced ColdFusion MX7 Developer
> www.bennadel.com
>  
> Need ColdFusion Help?
> www.bennadel.com/ask-ben/
>
>
> -----Original Message-----
> From: Bruce Sorge [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, January 18, 2007 4:15 PM
> To: CF-Talk
> Subject: Strange Error
>
> I am looking at the log file for my app and I keep seeing this message:
> Error in Method [onRequestStart] Event Handler Exception.
>
> Here is the onRequestStart event:
> <cffunction name="onRequestStart" output="true" returntype="boolean">
>         <!--- If user is not logged in, force them to log in now. --->
>         <cfset request.dsource = "DONE_P">
>         <cfset request.siteName = "Department of Neighorbood Empowerment
> - Election Procedures">
>         <cfinclude template="Header.cfm">
>         <cfif not isDefined("Session.auth.isLoggedIn")>
>             <!--- If the user is now submitting the login form --->
>             <cfif isDefined("Form.username")>
>             <cfinclude template="loginCheck.cfm">
>         </cfif>
>         <cfinclude template="LoginForm.cfm">
>         <cfabort>
>         </cfif>
>
>         <cfreturn true>
>     </cffunction>
>
> Everything looks fine from what I can see. Can anyone see a problem with
> this snippet of code?
>
> Thanks,
>
>
>
> --
> Bruce Sorge
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266938
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to