I would personally not place a log in the proc call...maybe a lock on a setting outside the call which copies it into a non-shared scope.
Maybe the way below would incur a performance problem as it may lock users out of the page until its finished? N -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 10 June 2004 14:39 To: [EMAIL PROTECTED] Subject: [ cf-dev ] CFLOCK In CF5, is it still considered good practice (or was it ever) to put a readonly session cflock around a cfstoredproc that reads from a session variable, on the basis that no automatic lock checking is set in CFAdmin? as in: <cflock scope="session" type="readonly" timeout="10"> <cfstoredproc procedure="spr_addemployee" datasource="foo" returncode="no"> <cfprocpraram type="in" cfsqltype="cf_sql_integer" dbvarname="@userid" value="#session.userid#"> <cfprocresult name="recordinserted" resultset=1> </cfstoredproc> </cflock> TIA Terry Riley -- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ CFDeveloper Sponsors and contributors:- *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com* *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com* *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com* To unsubscribe, e-mail: [EMAIL PROTECTED] This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ CFDeveloper Sponsors and contributors:- *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com* *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com* *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com* To unsubscribe, e-mail: [EMAIL PROTECTED]
