Create a proxy (or facade) object that you can call via AJAX. In this
object you can access the instantiated objects that are in the session
or application scope. As long as you know that only this one proxy
object accesses those scopes directly (and in fact that's its purpose)
then you won't run into the issues that your coding standards are set
up to avoid.

--
WSS4CF - WS-Security framework for CF
http://wss4cf.riaforge.org/



On 17 November 2010 04:17, Donnie Carvajal
<[email protected]> wrote:
>
> I figured it was a typo.  I get the credential check in the onRequestStart(), 
> makes sense.
>
> The other issue I'm having is that I need to access the user object that 
> would be created in onRequestStart().
> Basically, CF based objects can't be passed to remote methods, correct?  So 
> either way, I will have to access some variable (singular or object) that was 
> created outside the component.  Not a big deal, just go against some 
> standards we are trying to foll

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339299
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to