Yes.  Because in order to check to see if said session variable isdefined,
CF must attempt a read of the variable.  Hence, a READONLY lock is required.

-----Original Message-----
From: sebastian palmigiani [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 17, 2000 5:45 PM
To: CF-Talk
Subject: locking with IsDefined


When testing for the existence of a session variable such as:

IsDefined("Session.Login")

do you need to use a <lock> around it?

-----
Sebastian

----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to