Barney,
Session,application & server variables are not protected from simultaneous
read/write access. Therefore you should always use CFLOCK tag when
readin/writing to thyese variable scopes. If you don't, its possible that
several requests could occur at same time. This could corrupt data or hang
CF server.
Nick Betts
Software Engineer
www.poulternet.com
Leeds,UK
-----Original Message-----
From: Barney Stevenson [mailto:[EMAIL PROTECTED]]
Sent: 19 December 2000 11:53
To: CF-Talk
Subject: Locking session variables in CF 4.0
I am confused by the knotty subject of locking session variables.
I know that it is recommended to lock all session variables in CF 4.5,
but should I be locking if I am developing for CF 4.0. What will
happen if I don't implement locks?
Regards
Barney
=====
Barney Stevenson
77 Church Street
Heaton Norris
Stockport
Cheshire
SK4 1JH
United Kingdom
+44(0)161 429 6675
Pager: +44(0)7654 248701
Fax: +44(0)870 831 0837
"We work to become, not to acquire". Elbert Hubbard
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists