From experience, using duplicate() when copying a structure from session to request or a local variable could cause a slight, performance degradation.  Of course, it depends on how big the structure is.  If the structure was big, I would use cflock inline with the assignment code in question, rather than first making a deep copy and then do what I needed to do.

Nick Han

>>> [EMAIL PROTECTED] 10/07/03 01:29PM >>>
Can anyone see any reason why you wouldn't want to copy session scope variables to a request scope variable if all you want to do is to test the values in them but not set them?

It strikes me that this would be more efficient than locking the session scope each time you wanted to test the variables.

But then again I might be missing something really obvious :-)

[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to