> Joe > Are you saying if i' copy a session var to the request > scope simply using <cfset request.var = session.var > , > because their both complex datatypes i'm still only > creating a pointer and actually need to use the > duplicate function?
Actually those were my comments to Joe, but yes, using the syntax #request.struct.var# is the same as using the syntax #session.struct.var# after having declared the request structure with <cfset request.struct = session.struct> because the cfset tag creates a pointer rather than a copy. Using duplicate() will create a deep copy of any complex object ( not just structures ) and eliminate race conditions when using #request.struct.var# and the like ... The test if you're ever unsure of course is to require locking on all scopes in the ColdFusion Administrator if you have access to it. Copying simple values is another story of course... i.e. if you set a session variable with <cfset session.myvar = "some value"> and then coppied that to the request scope with <cfset request.myvar = session.myvar> it would copy the data rather than creating a pointer and you don't have to worry about locking #request.myvar# . Isaac www.turnkey.to 954-776-0046 ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com 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

