Why not just copy the pointer from the session scope to the request scope?
Wouldn't the single-threaded nature of the request scope protect the actual
data from corruption?  I suppose the question I have is HOW does the CF
server force single threading in the request scope:

1.  By forcing every request into its own memory space or
2.  By internally recognizing and locking the data associated with the
request scope

Anyone?  Anyone?


 

Bryan Love Macromedia Certified Professional
Internet Application Developer / Database Analyst
Telecommunication Systems Inc.
[EMAIL PROTECTED]
 

"What father would hesitate to say 'if there must be trouble let it be in my
day, that my child may have peace'?"
        - Thomas Paine, An American Crisis



-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 12, 2001 11:12 AM
To: CF-Talk
Subject: RE: Request Scope Questions


> if i understand correctly, a week or so ago you (dave) 
> mentioned that duplicate was only necessary for a session 
> structure if it contained other complex variables. you said 
> that StructCopy was sufficient if it was merely a structure 
> with simple variables. is this correct?

Yes, that's correct. Personally, I just use Duplicate whenever I want to
pass a structure by value, so I don't even think about it.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to