Correct, the J2EE session variables are required to replicate them across a cluster. However, whether you need to lock them or not has nothing to do with the type of session variable you choose, but on the potential for race conditions in the code itself.
On 7/17/07, Rick Root <[EMAIL PROTECTED]> wrote: > > Well, the interviewer was actually asking if I used j2ee session > variables, to which I would've quickly answered "no" > > But as far as coldfusion is concerned, There's only one type of > session variables. Those are variables placed in the session scope. > > Whether or not they are J2EE session variables is an administrative > setting of the server. > > I don't really consider them a different type of session variable, > because from a coding standpoint, you don't really treat them any > differently. > > Although he said he'd heard you didn't need to lock j2ee session > variables. > > All I know is that when you cluster, you *HAVE* to use j2ee session > variables in order to get them to replicate. > > Rick > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion 8 beta â Build next generation applications today. Free beta download on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283881 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

