To eliminate the need for the locking of SESSION variables, an option may be enabled in the CF Administrator that will force sessions to be single threaded. Single threading SESSION variables ensures that there will never be more than one request active for any given SESSION, and thus there is no need for locking. But while this is simple and convenient, it can impact performance. ColdFusion supports concurrent requests so as to be more responsive, even within a single SESSION. So unless performance is not an issue, use
Leave a Reply