>>You can prevent session-based race conditions by using CFLOCK around any code that reads or writes session variables,
It is not an issue of session race and I don't see how CFLOCK could help. Imagine you have a big system designed to manage big events like annual conferences wirh inscription, payments, etc.. The first thing the user will do is select the conference he wants to work with, then the id of this conference is stored in a session variable. All he will do any further wil be done on this conference. It is impossible to do anything without first selecting the event. But suppose he opens a new window in which he selects another conference, the session variable will contain the id of this new event. Then anything he does using the first window will be done on this new conference, and this may cause trouble. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353029 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

