<?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: Math Captcha Component</title>
	<atom:link href="http://jamienay.com/2009/06/math-captcha-component/feed/" rel="self" type="application/rss+xml" />
	<link>http://jamienay.com/2009/06/math-captcha-component/</link>
	<description>A PHP web developer writing about the web.</description>
	<lastBuildDate>Mon, 26 Jul 2010 20:07:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Jamie</title>
		<link>http://jamienay.com/2009/06/math-captcha-component/comment-page-1/#comment-6764</link>
		<dc:creator>Jamie</dc:creator>
		<pubDate>Fri, 11 Jun 2010 22:11:16 +0000</pubDate>
		<guid isPermaLink="false">http://jamienay.com/?page_id=231#comment-6764</guid>
		<description>Hi Morgan,

I haven&#039;t experienced that problem on Chrome, which is my main development browser. But thanks for the heads up - hopefully it&#039;ll be useful information for other visitors.</description>
		<content:encoded><![CDATA[<p>Hi Morgan,</p>
<p>I haven&#8217;t experienced that problem on Chrome, which is my main development browser. But thanks for the heads up &#8211; hopefully it&#8217;ll be useful information for other visitors.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Morgan Leininger</title>
		<link>http://jamienay.com/2009/06/math-captcha-component/comment-page-1/#comment-6753</link>
		<dc:creator>Morgan Leininger</dc:creator>
		<pubDate>Thu, 10 Jun 2010 20:48:13 +0000</pubDate>
		<guid isPermaLink="false">http://jamienay.com/?page_id=231#comment-6753</guid>
		<description>Hi Jamie,

Thanks so much for sharing your code; this component seems a much better alternative than the terrible image based CAPTCHAS so prevalent today.

I have encountered a very strange bug with this component and Chrome (the browser). I am fairly sure the bug is with Chrome (I know, I know, it&#039;s a purely server side component except insofar as Sessions involve a cookie...but it&#039;s true). I have reported it to them.

I am using the stable CakePHP 1.2 branch. This component works as expected with IE 7, Firefox 3, and Safari 4. However, Chrome only a minute fraction of the time displays a question which is the correct answer to the value of the mathCaptcha written to Session. And that&#039;s obviously just random probability based on the 1-5 min/max and + operand constraints.

My guess is that maybe Chrome does something different with .htaccess redirects that CakePHP is using in the course of processing requests. And/or it&#039;s related to the way Chrome will grab &quot;bad&quot; URLs before Comcast... 

In case you aren&#039;t aware, Comcast has taken to sort of hijacking bad DNS requests; mistype a domain and you get a Comcast search page. Chrome (alone of the major browsers AFAIK) &quot;pre-hijacks&quot; those requests...which is a bit scary being as how they must essentially use their own DNS servers in preference to what I have set in my OS... 

But in any case...it appears they somehow load the page twice very quickly. One run of $this-&gt;MathCaptcha-&gt;generateEquation() is sent to the display and a second run of $this-&gt;MathCaptcha-&gt;generateEquation() gets written to Session (though I&#039;m not currently sure of the order).

Sadly, now that my brain is completely obsessed with this, I&#039;ve been asked to ignore the Chrome users for now (they will almost never be able to validate a Simple Math Captcha, except for the few random equation collisions), but with Chrome creeping towards 15% in some estimates...

If you have any potential insights on this issue I&#039;d love to hear them. If I hear back from the Chrome crew or crack this in some other way I&#039;ll post back.

Thanks again for sharing.</description>
		<content:encoded><![CDATA[<p>Hi Jamie,</p>
<p>Thanks so much for sharing your code; this component seems a much better alternative than the terrible image based CAPTCHAS so prevalent today.</p>
<p>I have encountered a very strange bug with this component and Chrome (the browser). I am fairly sure the bug is with Chrome (I know, I know, it&#8217;s a purely server side component except insofar as Sessions involve a cookie&#8230;but it&#8217;s true). I have reported it to them.</p>
<p>I am using the stable CakePHP 1.2 branch. This component works as expected with IE 7, Firefox 3, and Safari 4. However, Chrome only a minute fraction of the time displays a question which is the correct answer to the value of the mathCaptcha written to Session. And that&#8217;s obviously just random probability based on the 1-5 min/max and + operand constraints.</p>
<p>My guess is that maybe Chrome does something different with .htaccess redirects that CakePHP is using in the course of processing requests. And/or it&#8217;s related to the way Chrome will grab &#8220;bad&#8221; URLs before Comcast&#8230; </p>
<p>In case you aren&#8217;t aware, Comcast has taken to sort of hijacking bad DNS requests; mistype a domain and you get a Comcast search page. Chrome (alone of the major browsers AFAIK) &#8220;pre-hijacks&#8221; those requests&#8230;which is a bit scary being as how they must essentially use their own DNS servers in preference to what I have set in my OS&#8230; </p>
<p>But in any case&#8230;it appears they somehow load the page twice very quickly. One run of $this-&gt;MathCaptcha-&gt;generateEquation() is sent to the display and a second run of $this-&gt;MathCaptcha-&gt;generateEquation() gets written to Session (though I&#8217;m not currently sure of the order).</p>
<p>Sadly, now that my brain is completely obsessed with this, I&#8217;ve been asked to ignore the Chrome users for now (they will almost never be able to validate a Simple Math Captcha, except for the few random equation collisions), but with Chrome creeping towards 15% in some estimates&#8230;</p>
<p>If you have any potential insights on this issue I&#8217;d love to hear them. If I hear back from the Chrome crew or crack this in some other way I&#8217;ll post back.</p>
<p>Thanks again for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie</title>
		<link>http://jamienay.com/2009/06/math-captcha-component/comment-page-1/#comment-4921</link>
		<dc:creator>Jamie</dc:creator>
		<pubDate>Sun, 07 Feb 2010 20:07:03 +0000</pubDate>
		<guid isPermaLink="false">http://jamienay.com/?page_id=231#comment-4921</guid>
		<description>Sorry Todd - I&#039;ve just been really busy lately, I haven&#039;t been able to pay much attention to my blog or any of my public code. You&#039;re right, I mistakenly put the operand option there before finishing that feature. To be honest it&#039;s not a priority for me at this time, so I&#039;ll probably just take out the option before I add support for multiple operands.</description>
		<content:encoded><![CDATA[<p>Sorry Todd &#8211; I&#8217;ve just been really busy lately, I haven&#8217;t been able to pay much attention to my blog or any of my public code. You&#8217;re right, I mistakenly put the operand option there before finishing that feature. To be honest it&#8217;s not a priority for me at this time, so I&#8217;ll probably just take out the option before I add support for multiple operands.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Todd</title>
		<link>http://jamienay.com/2009/06/math-captcha-component/comment-page-1/#comment-4919</link>
		<dc:creator>Todd</dc:creator>
		<pubDate>Sun, 07 Feb 2010 19:12:21 +0000</pubDate>
		<guid isPermaLink="false">http://jamienay.com/?page_id=231#comment-4919</guid>
		<description>Well I guess not. This works good for just adding numbers but thats it. I had to redo the whole thing to use subtraction.</description>
		<content:encoded><![CDATA[<p>Well I guess not. This works good for just adding numbers but thats it. I had to redo the whole thing to use subtraction.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Todd</title>
		<link>http://jamienay.com/2009/06/math-captcha-component/comment-page-1/#comment-4558</link>
		<dc:creator>Todd</dc:creator>
		<pubDate>Wed, 20 Jan 2010 02:14:08 +0000</pubDate>
		<guid isPermaLink="false">http://jamienay.com/?page_id=231#comment-4558</guid>
		<description>I noticed you have the option to adjust the settings like the &quot;operand&quot; but if you change it to - then it returns negative numnbers. Any plans on fixing it to work correctly with subtraction?</description>
		<content:encoded><![CDATA[<p>I noticed you have the option to adjust the settings like the &#8220;operand&#8221; but if you change it to &#8211; then it returns negative numnbers. Any plans on fixing it to work correctly with subtraction?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://jamienay.com/2009/06/math-captcha-component/comment-page-1/#comment-4445</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Wed, 13 Jan 2010 05:18:42 +0000</pubDate>
		<guid isPermaLink="false">http://jamienay.com/?page_id=231#comment-4445</guid>
		<description>I love this component. It&#039;s easy to integrate and works like a charm. Good job!</description>
		<content:encoded><![CDATA[<p>I love this component. It&#8217;s easy to integrate and works like a charm. Good job!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie</title>
		<link>http://jamienay.com/2009/06/math-captcha-component/comment-page-1/#comment-1350</link>
		<dc:creator>Jamie</dc:creator>
		<pubDate>Wed, 01 Jul 2009 14:12:54 +0000</pubDate>
		<guid isPermaLink="false">http://jamienay.com/?page_id=231#comment-1350</guid>
		<description>Apparently it&#039;s thanks my complete inability to use the WordPress scheduling tool properly. And that broken link was fixed within minutes - I can&#039;t believe Google still picked it up! Yeesh. Thanks for the heads up. ;)</description>
		<content:encoded><![CDATA[<p>Apparently it&#8217;s thanks my complete inability to use the WordPress scheduling tool properly. And that broken link was fixed within minutes &#8211; I can&#8217;t believe Google still picked it up! Yeesh. Thanks for the heads up. <img src='http://jamienay.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie Nay &#187; Simple Math Question Captcha Component for CakePHP</title>
		<link>http://jamienay.com/2009/06/math-captcha-component/comment-page-1/#comment-1349</link>
		<dc:creator>Jamie Nay &#187; Simple Math Question Captcha Component for CakePHP</dc:creator>
		<pubDate>Wed, 01 Jul 2009 14:08:56 +0000</pubDate>
		<guid isPermaLink="false">http://jamienay.com/?page_id=231#comment-1349</guid>
		<description>[...] Math Captcha Component [...]</description>
		<content:encoded><![CDATA[<p>[...] Math Captcha Component [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: deizel.</title>
		<link>http://jamienay.com/2009/06/math-captcha-component/comment-page-1/#comment-1348</link>
		<dc:creator>deizel.</dc:creator>
		<pubDate>Wed, 01 Jul 2009 12:20:50 +0000</pubDate>
		<guid isPermaLink="false">http://jamienay.com/?page_id=231#comment-1348</guid>
		<description>Hi Jamie, not sure if you accidentally published this too soon then hit unpublish, but just a quick heads-up to let you know that it has appeared in Google Search and Google Reader with a broken link. Also, you can find it with your site search although it isn&#039;t published to the front page of your blog. Useful component though! :)</description>
		<content:encoded><![CDATA[<p>Hi Jamie, not sure if you accidentally published this too soon then hit unpublish, but just a quick heads-up to let you know that it has appeared in Google Search and Google Reader with a broken link. Also, you can find it with your site search although it isn&#8217;t published to the front page of your blog. Useful component though! <img src='http://jamienay.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
