<?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: Captcha using ASP.Net and C#</title>
	<atom:link href="http://www.dotnetthoughts.net/2009/09/15/captcha-using-asp-net-and-c/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dotnetthoughts.net/2009/09/15/captcha-using-asp-net-and-c/</link>
	<description>a dotnet developer&#039;s technical blog</description>
	<lastBuildDate>Thu, 09 Feb 2012 09:26:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Anuraj P</title>
		<link>http://www.dotnetthoughts.net/2009/09/15/captcha-using-asp-net-and-c/#comment-457</link>
		<dc:creator>Anuraj P</dc:creator>
		<pubDate>Tue, 04 Jan 2011 08:30:47 +0000</pubDate>
		<guid isPermaLink="false">http://anuraj.wordpress.com/?p=380#comment-457</guid>
		<description>&lt;a href=&quot;#comment-456&quot; rel=&quot;nofollow&quot;&gt;@venkat &lt;/a&gt; Its nothing; seems pretty self explanatory, I am randomly deciding the start index and length of the word to take it from GUID. If it contains a &quot;-&quot;, I am replacing it with 0. Hope you understood.</description>
		<content:encoded><![CDATA[<p><a href="#comment-456" rel="nofollow">@venkat </a> Its nothing; seems pretty self explanatory, I am randomly deciding the start index and length of the word to take it from GUID. If it contains a &#8220;-&#8221;, I am replacing it with 0. Hope you understood.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: venkat</title>
		<link>http://www.dotnetthoughts.net/2009/09/15/captcha-using-asp-net-and-c/#comment-456</link>
		<dc:creator>venkat</dc:creator>
		<pubDate>Mon, 03 Jan 2011 07:15:35 +0000</pubDate>
		<guid isPermaLink="false">http://anuraj.wordpress.com/?p=380#comment-456</guid>
		<description>Hi Wish you a very happy new year.

Could you pls explain this part..

 // Create string to draw.
                Random r = new Random();
                int startIndex = r.Next(1, 5);
                int length = r.Next(5, 10);
                String drawString = Guid.NewGuid().ToString().Replace(&quot;-&quot;, &quot;0&quot;).Substring(startIndex, length);

I debugged this code but i didnt get it, i debugged and note downs the guid passed one and  use substring to get specific character but it show different ..

Pls explain this...</description>
		<content:encoded><![CDATA[<p>Hi Wish you a very happy new year.</p>
<p>Could you pls explain this part..</p>
<p> // Create string to draw.<br />
                Random r = new Random();<br />
                int startIndex = r.Next(1, 5);<br />
                int length = r.Next(5, 10);<br />
                String drawString = Guid.NewGuid().ToString().Replace(&#8220;-&#8221;, &#8220;0&#8243;).Substring(startIndex, length);</p>
<p>I debugged this code but i didnt get it, i debugged and note downs the guid passed one and  use substring to get specific character but it show different ..</p>
<p>Pls explain this&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anuraj P</title>
		<link>http://www.dotnetthoughts.net/2009/09/15/captcha-using-asp-net-and-c/#comment-379</link>
		<dc:creator>Anuraj P</dc:creator>
		<pubDate>Wed, 28 Jul 2010 08:50:52 +0000</pubDate>
		<guid isPermaLink="false">http://anuraj.wordpress.com/?p=380#comment-379</guid>
		<description>Hi Radhika
I am not clear with your requirement. You want how to implement the code? or You want to use ASPX instead of ASHX  First option is simple and clearly mentioned in the post, like Create ASHX Page, copy / paste the code provided. Add an Image control in the ASPX Page, and set the Image source as ASHX that&#039;s it. It will display the Image and you can check the value against the session variable. Yes you can use ASPX instead of ASHX, simply Copy / Paste the code to Page Load event of the Page, replace context with HttpContext.Current class. Rest is same as ASHX.</description>
		<content:encoded><![CDATA[<p>Hi Radhika<br />
I am not clear with your requirement. You want how to implement the code? or You want to use ASPX instead of ASHX  First option is simple and clearly mentioned in the post, like Create ASHX Page, copy / paste the code provided. Add an Image control in the ASPX Page, and set the Image source as ASHX that&#8217;s it. It will display the Image and you can check the value against the session variable. Yes you can use ASPX instead of ASHX, simply Copy / Paste the code to Page Load event of the Page, replace context with HttpContext.Current class. Rest is same as ASHX.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Radhika</title>
		<link>http://www.dotnetthoughts.net/2009/09/15/captcha-using-asp-net-and-c/#comment-378</link>
		<dc:creator>Radhika</dc:creator>
		<pubDate>Wed, 28 Jul 2010 06:57:08 +0000</pubDate>
		<guid isPermaLink="false">http://anuraj.wordpress.com/?p=380#comment-378</guid>
		<description>Hello, 
how can integrate this captcha code in aspx page.  can you please tell me .
thank you,</description>
		<content:encoded><![CDATA[<p>Hello,<br />
how can integrate this captcha code in aspx page.  can you please tell me .<br />
thank you,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anuraj P</title>
		<link>http://www.dotnetthoughts.net/2009/09/15/captcha-using-asp-net-and-c/#comment-367</link>
		<dc:creator>Anuraj P</dc:creator>
		<pubDate>Fri, 23 Jul 2010 08:10:16 +0000</pubDate>
		<guid isPermaLink="false">http://anuraj.wordpress.com/?p=380#comment-367</guid>
		<description>We are using Session to manage it, before creating the image, we are setting the value to the session, and based on the session we are rendering image.</description>
		<content:encoded><![CDATA[<p>We are using Session to manage it, before creating the image, we are setting the value to the session, and based on the session we are rendering image.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

