<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How CFLOCK doesn&#8217;t</title>
	<atom:link href="http://www.fusioncube.net/index.php/how-cflock-doesnt/feed" rel="self" type="application/rss+xml" />
	<link>http://www.fusioncube.net/index.php/how-cflock-doesnt</link>
	<description>The online journey of a technophile, by Steve Brownlee</description>
	<lastBuildDate>Mon, 30 Jan 2012 21:28:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Steve Brownlee</title>
		<link>http://www.fusioncube.net/index.php/how-cflock-doesnt/comment-page-1#comment-4053</link>
		<dc:creator>Steve Brownlee</dc:creator>
		<pubDate>Fri, 24 Nov 2006 05:42:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.fusioncube.net/?p=123#comment-4053</guid>
		<description>Strange that the readonly lock doesn&#039;t act the same, I didn&#039;t try that one.

Point taken about my emphasis on frames, I was trying to be witty is all.</description>
		<content:encoded><![CDATA[<p>Strange that the readonly lock doesn&#8217;t act the same, I didn&#8217;t try that one.</p>
<p>Point taken about my emphasis on frames, I was trying to be witty is all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Cameron</title>
		<link>http://www.fusioncube.net/index.php/how-cflock-doesnt/comment-page-1#comment-4017</link>
		<dc:creator>Adam Cameron</dc:creator>
		<pubDate>Thu, 23 Nov 2006 20:58:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.fusioncube.net/?p=123#comment-4017</guid>
		<description>Hi (again) Steve
I tested on 7.0.0.91690 and indeed am seeing what you&#039;re seeing.

I&#039;m sending the messages to file instead of screen, so I can see what order they&#039;re in, and - as Ruud alluded to - the inner &quot;globallockthatbreaks&quot; clears the &quot;outer&quot; one too.  Although it&#039;s got nothing to do with the &quot;empty&quot;  tag: I would never run code with poorly-formed CFML tags, so expanded it out and added a message within the lock, and one still gets what you&#039;re seeing.

Note that if the INNER &quot;globallockthatbreaks&quot; is readonly, not exclusive, then the issue does not occur.

I&#039;m not sure this is a bug though, as I can&#039;t find any reference to being able to nest locks.  Although equally, I can&#039;t see anything that one CAN&#039;T either.

Bug or not: it&#039;s good to know about.

Cheers.

-- 
Adam</description>
		<content:encoded><![CDATA[<p>Hi (again) Steve<br />
I tested on 7.0.0.91690 and indeed am seeing what you&#8217;re seeing.</p>
<p>I&#8217;m sending the messages to file instead of screen, so I can see what order they&#8217;re in, and &#8211; as Ruud alluded to &#8211; the inner &#8220;globallockthatbreaks&#8221; clears the &#8220;outer&#8221; one too.  Although it&#8217;s got nothing to do with the &#8220;empty&#8221;  tag: I would never run code with poorly-formed CFML tags, so expanded it out and added a message within the lock, and one still gets what you&#8217;re seeing.</p>
<p>Note that if the INNER &#8220;globallockthatbreaks&#8221; is readonly, not exclusive, then the issue does not occur.</p>
<p>I&#8217;m not sure this is a bug though, as I can&#8217;t find any reference to being able to nest locks.  Although equally, I can&#8217;t see anything that one CAN&#8217;T either.</p>
<p>Bug or not: it&#8217;s good to know about.</p>
<p>Cheers.</p>
<p>&#8211;<br />
Adam</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Cameron</title>
		<link>http://www.fusioncube.net/index.php/how-cflock-doesnt/comment-page-1#comment-4013</link>
		<dc:creator>Adam Cameron</dc:creator>
		<pubDate>Thu, 23 Nov 2006 19:44:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.fusioncube.net/?p=123#comment-4013</guid>
		<description>Hi Steve.
Your PREMISE is this:
&quot;Iâ€™ve one word for you, just one wordâ€¦ FRAMES.

Amazing how simple it is to completely bust the CFLOCK tag. First, you create a simple page that has FRAMES and loads another page into each FRAME.&quot;
(my emphasis)

Are you telling me you&#039;re NOT suggesting frames have something to do with it, given your statements above?

-- 
Adam</description>
		<content:encoded><![CDATA[<p>Hi Steve.<br />
Your PREMISE is this:<br />
&#8220;Iâ€™ve one word for you, just one wordâ€¦ FRAMES.</p>
<p>Amazing how simple it is to completely bust the CFLOCK tag. First, you create a simple page that has FRAMES and loads another page into each FRAME.&#8221;<br />
(my emphasis)</p>
<p>Are you telling me you&#8217;re NOT suggesting frames have something to do with it, given your statements above?</p>
<p>&#8211;<br />
Adam</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Brownlee</title>
		<link>http://www.fusioncube.net/index.php/how-cflock-doesnt/comment-page-1#comment-3994</link>
		<dc:creator>Steve Brownlee</dc:creator>
		<pubDate>Thu, 23 Nov 2006 15:02:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.fusioncube.net/?p=123#comment-3994</guid>
		<description>Hm, this must have been fixed in the 7.0.2 release.  I&#039;m still using 7.0.  

Ruud, funny how me seeing the results is not a mystery when you don&#039;t see them  :)

Adam, thanks for the input, but the premise isn&#039;t faulty.  You&#039;re right that the frames are irrelevant, I simply chose that for simplicity.  What I&#039;m pointing out is that I&#039;m seeing a GLOBAL lock not being honored.  I doesn&#039;t matter how the two requests are generated, the GLOBAL lock should be honored.

I&#039;ll upgrade to 7.0.2 and test again.</description>
		<content:encoded><![CDATA[<p>Hm, this must have been fixed in the 7.0.2 release.  I&#8217;m still using 7.0.  </p>
<p>Ruud, funny how me seeing the results is not a mystery when you don&#8217;t see them  :)</p>
<p>Adam, thanks for the input, but the premise isn&#8217;t faulty.  You&#8217;re right that the frames are irrelevant, I simply chose that for simplicity.  What I&#8217;m pointing out is that I&#8217;m seeing a GLOBAL lock not being honored.  I doesn&#8217;t matter how the two requests are generated, the GLOBAL lock should be honored.</p>
<p>I&#8217;ll upgrade to 7.0.2 and test again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Cameron</title>
		<link>http://www.fusioncube.net/index.php/how-cflock-doesnt/comment-page-1#comment-3985</link>
		<dc:creator>Adam Cameron</dc:creator>
		<pubDate>Thu, 23 Nov 2006 12:36:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.fusioncube.net/?p=123#comment-3985</guid>
		<description>I tidied up your code a bit:
- output a &quot;start&quot; flag before the first 
- flushed all output so one can see what&#039;s going on as it&#039;s running.
- and put a pause in it so one could see the other frame actively waiting.

And - as Ruud says - it works fine for me (7.0.2.142559).

The premise itself is a bit faulty anyhow: CF has no way of knowing that these two requests are in frames, it just sees two requests.  So the fact the two requests are being called from frames is irrelevant to anything you might experience, one way or the other.

-- 
Adam</description>
		<content:encoded><![CDATA[<p>I tidied up your code a bit:<br />
- output a &#8220;start&#8221; flag before the first<br />
- flushed all output so one can see what&#8217;s going on as it&#8217;s running.<br />
- and put a pause in it so one could see the other frame actively waiting.</p>
<p>And &#8211; as Ruud says &#8211; it works fine for me (7.0.2.142559).</p>
<p>The premise itself is a bit faulty anyhow: CF has no way of knowing that these two requests are in frames, it just sees two requests.  So the fact the two requests are being called from frames is irrelevant to anything you might experience, one way or the other.</p>
<p>&#8211;<br />
Adam</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ruud Hermans</title>
		<link>http://www.fusioncube.net/index.php/how-cflock-doesnt/comment-page-1#comment-3966</link>
		<dc:creator>Ruud Hermans</dc:creator>
		<pubDate>Thu, 23 Nov 2006 08:00:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.fusioncube.net/?p=123#comment-3966</guid>
		<description>My guess is the second &#039;globallockthatbreaks&#039; refers to the first (because it has the same name and type) and releases it because the tag is ended immediately (because of the /). In my opinion the result you&#039;re seeing isn&#039;t a big mystery.

Having said that, however, when I run the code, using CFMX 7.0.2, the lock is honored just fine. What version are you using?</description>
		<content:encoded><![CDATA[<p>My guess is the second &#8216;globallockthatbreaks&#8217; refers to the first (because it has the same name and type) and releases it because the tag is ended immediately (because of the /). In my opinion the result you&#8217;re seeing isn&#8217;t a big mystery.</p>
<p>Having said that, however, when I run the code, using CFMX 7.0.2, the lock is honored just fine. What version are you using?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

