Sorry bout the lame post minus all the code, but everytime I post it, it never 
posts. lol

Anyway, I have an Application.cfc in an admin folder... it extends the 
rootApplication.cfc. In the admin folder App.cfc I'm using onRequestStart() to 
restrict access. 

<cffunction name="onRequestStart" returntype="void" output="false">
        <cfif NOT IsDefined("SESSION.auth.isLoggedIn")>
           <cfinclude template="login.cfm">     
           <cfabort>
    </cfif>
      <cfif IsDefined("URL.logout")>
         <cfset StructDelete(SESSION,"auth")>
             <cflocation url="login.cfm">
     </cfif> 
</cffunction> 

In my root Application.cfc, I'm using onError(). The problem is, if you simply 
login to the admin folder, an error is thrown. You never see anything wrong 
when you go thru login, onError() just fires off. 

I can't figure out why an error would be generated from loggin in like this. 

Thanks,
Will

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246863
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to