What does the 'A' stand for in "YAFLAQ"?
I *think* once a lock is opened it will remain open (locked) until either you close
the lock explicitly, or the lock's scope (page) goes away. So while the INCLUDE is
being processed the lock is still "on".
But remember, CFLOCK does not go into single-threaded mode in general, it only
single-threads the resource you lock, such as Application variables, through other
occurrences of CFLOCK.
At 09:47 AM 12/4/00 -0800, Gregory Harris wrote:
>Ok, we all know that CFLOCK will lock up a page to single-threaded mode, but
>my question is, if a Locked template encounters a CFINCLUDE statement, will
>it lock up the resources in that page as well, for instance:
>
>I have Page A,B, and C
>
>Page A is locked up within a CFLOCK statement, but includes a CFINCLUDE to
>page C, page A is running Page C when page B attempts to CFINCLUDE page C as
>well.
>
>Will Page B be allowed to include Page C right away, or is it going to have
>to wait until Page A clears the lock?
>
>Gregory Harris
>Web Developer
>Stirling Bridge Group LLC
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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