On 4/18/06, Sam Clement <[EMAIL PROTECTED]> wrote:
> Sounds good to me.  However, can you explain why this better than just
> re-initiating the variables.objectRecord in an MG controller?  Is this just
> coding style or like you say A Big Red Flag?

variables scope in a controller is shared across all requests -
because the controller is in application scope - and therefore it is
not thread safe to use it for per-request data: one request might
start using variables.objectRecord and then another request comes in
and re-inits that **while something else is using it** hence the Big
Red Flag.
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood



-- Reactor for ColdFusion Mailing List -- [email protected]
-- Archives at http://www.mail-archive.com/reactor%40doughughes.net/


Reply via email to