That hotfix says that it's only for CF Enterprise.  What if we're running CF
Professional?  Is it not a problem in that version, or is the fix only
provided for customers who are on Enterprise?

Bob

-----Original Message-----
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: April 11, 2001 8:21 AM
To: CF-Community
Subject: RE: session.session_id



> For an example of session locking craziness - some folks try to
> copy the session scope inside CFLOCKs then use the
> copy without locks. Unfortunately if you use StructCopy to do
> this any structures in your session scope will only
> have the pointers copied and when you access the copy it will
> really access the session var itself! However the
> copy will fool the CF admin's strict lock checking for CFLOCK
> making you think your site is lock safe when really
> it isn't... (The 4.5.1 duplicate() function was created to get
> around this issue).

But do NOT forget that the duplicate() function in the current release is
broken. It creates pointers if the original struct has an array that has a
struct in it. We have a fix for this in the KBs somewhere.

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

Email   : [EMAIL PROTECTED]
ICQ UIN : 3679482

"My ally is the Force, and a powerful ally it is." - Yoda
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to