Victor, There is no need to do a lock on that session. OnSessionEnd() only runs ONCE per session. You never have to worry about this method firing more than once for any given session. Unless there is more to the code, in which case, ignore me please :)
...................... Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -----Original Message----- From: Victor Moore [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 05, 2006 4:51 PM To: CF-Talk Subject: Re: onSessionEnd function not getting called Thanks Ray. The problem was this line: <cflock scope="session" timeout="10" Type="Exclusive"> I have change it to: <cflock name="sessionScope" timeout="10" Type="Exclusive"> and now it works. Thanks again Victor ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262966 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

