2 reasons:
1/ if the user has multiple windows open
2/ If the user hits stop before a page finishes executing and executes
another page..
Locking when reading prevents a variable being written when it is being read
and visa versa
-----Original Message-----
From: Gonzo Rock [mailto:[EMAIL PROTECTED]]
Sent: 05 September 2001 17:45
To: CF-Talk
Subject: CFLOCK and Session variables
A couple of questions that I can't
seem to sort out from reading the DOCS...
1. Why would one need to use cflock when WRITING session.variables ?
My impression is that:
Session.var is NOT shared,
Client.var is NOT shared,
Application.var IS shared
2. Why would one need to use cflock when READING any shared variables?
thanks y'all,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists