Which is not surprising. The issue was that Duplicate was not creating a
true copy under certain situations. Instead it was creating pointers.
This then would cause problems just like using app/session/server vars
w/o locking, as Marianne describes below.

I don't remember the exact situation where Duplicate failed. I believe
it was different from where StructCopy failed. If I remember right it
was something pretty deep - like a struct having an array that had
structs itself. Eitherway, if you are running 4.5, just get the hot fix.

=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email    : [EMAIL PROTECTED]
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -----Original Message-----
> From: Daye, Marianne [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, November 13, 2001 7:45 AM
> To: CF-Talk
> Subject: RE: Request Scope Questions
> 
> 
> Well, the 'issue' (to put it mildly) that we experienced 
> appeared to be one
> of memory corruption.  We got inconsistent, very vague error messages,
> sometimes referencing variable names from another application 
> on the same
> server.  The problems were very persistent, so if you haven't 
> been having
> problems already, you might be safe.  Unfortunately the patch 
> is only for CF
> Enterprise (we have Professional), so I resorted to copying 
> all individual
> structure keys to Request scope, and locking Session scoped 
> queries before
> looping throught them.
> 
> Marianne Daye
> 
> -----Original Message-----
> From: gyrus [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 12, 2001 10:32 AM
> To: CF-Talk
> Subject: Re: Request Scope Questions
> 
> 
> > Bare in mind that CF 4.5 had a.... um, 'issue' with 
> Duplicate. You can
> > download a hotfix for it though.
> 
> What was the issue?! I've got several sites live that are relying
> on Duplicate for passing session vars to request scope, and
> I'm not sure if the hosts have all the latest patches.
> 
> - Gyrus
> 
> 
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to