|
"but in general, a CFC instance that is persisted across requests holds
onto the page context of the request during which it was created."
"Page Context Bug" occurs only when the *.cfc instance is persisted in
any Memory scope..?
e.g
server.someInstance = createObject("Component","MyCFC");
Or application.someInstance = createObject("Component","MyCFC");
Or
session.someInstance = createObject("Component","MyCFC");
All the above instances will lead to "Page Context Bug" right ?
So in the below cases... we shouldnt have any problems.. setting any scope
variables within CFC's
request.someInstance = createObject("Component","MyCFC");
Or variables.someInstance = createObject("Component","MyCFC");
Thanks
Joe Eugene
|
Title: Message
- RE: [CFCDev] RPC vs Literal en... D. Delcomminette
- Re: [CFCDev] RPC vs Literal en... Matt Liotta
- RE: [CFCDev] RPC vs Literal en... D. Delcomminette
- Re: [CFCDev] RPC vs Literal en... Matt Liotta
- RE: [CFCDev] RPC vs Literal en... D. Delcomminette
- RE: [CFCDev] Setting Scoped Va... Joe Eugene
- [CFCDev] CodlFusion and Axis W... D. Delcomminette
- RE: [CFCDev] CodlFusion and Ax... Andre Mohamed
- RE: [CFCDev] CodlFusion and Ax... D. Delcomminette
- RE: [CFCDev] Setting Scoped Va... Nathan Dintenfass
- Re: [CFCDev] Setting Scoped Va... Joe Eugene
- Re: [CFCDev] Setting Scoped Va... Tyler Silcox
- Re: [CFCDev] OT: CF Trouble Ti... cf_nut
- Re: [CFCDev] Dynamic CFC Calls Joe Eugene
- RE: [CFCDev] Dynamic CFC Calls Barney Boisvert
- RE: [CFCDev] Dynamic CFC Calls Joe Eugene
- Re: [CFCDev] Dynamic CFC Calls jon hall
- RE: [CFCDev] Dynamic CFC Calls Brendan O'Hara
- Re: [CFCDev] Dynamic CFC Calls Joe Eugene
- RE: [CFCDev] Dynamic CFC Calls Davis, Eric
