I am having a problem with nesting Application CFCs.
 
I have an Application.cfc in the root directory with a call to onRequestStart, 
and in there I have a variety of variables set in the request scope. 
 
I have another Application.cfc in a sub directory that I built primarily to 
handle user authentication (the only files needing to be protected reside 
there, so I was going to set the authentication checks in that Application.cfc 
so it's only referenced when needed). 
 
I set it up so that this second Application.cfc extends the root 
Application.cfc by using the dot-notation mapping to the root Application - 
like extends="SharedSites.Site1.Application". In this file's onRequestStart 
function, I try and access the request scope variables set in the parent 
Application.cfc. I am getting errors saying these variables have not been set.
 
This is a legacy application that I am converting over to Application.cfc, so I 
cannot unscope those variables, I have to use them in the request scope.
 
Any guidelines or ideas?
 



thanks 
-r 
_____________________________________ 
Rob Barthle 
Contractor - Sr. Software Developer 
[EMAIL PROTECTED] 
202-245-6484 

 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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/groups/CF-Talk/message.cfm/messageid:259526
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to