Who said it was terribly inefficient? Sure, if your session scope
contains 500 variables, it's probably a bad idea to always copy it, but
I think that for _normal_ usage, doing a request.session =
duplicate(session) (within a cflock of course ;) will not be harmful at
all.

=======================================================================
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: Robert Everland [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, April 23, 2002 12:23 PM
> To: CF-Talk
> Subject: RE: Session variable question
> 
> 
> Ok let me ask this, I know it is terribly inefficient to copy 
> your session
> variables to variables, or request scope if it is a complex 
> variable, but
> what if it is something like sesison.firstname 
> session.lastname kind of
> thing. Would this be inefficient or not? Just curious becuase 
> I usually
> don't have complex variables and I don't know if this has 
> been explained
> completely the difference between copying non complex and 
> complex variables.
> 
> Robert Everland III
> Dixon Ticonderoga
> Web Developer Extraordinaire
> 

______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
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