<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Grokking Code</title>
	<atom:link href="http://grokkingcode.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://grokkingcode.wordpress.com</link>
	<description>Code exists for a reason.</description>
	<lastBuildDate>Sat, 17 Jan 2009 04:30:37 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Getting a number in an ASPX script by Safely Retrieving Values In ASP.Net 2.0 &#171; Grokking Code</title>
		<link>http://grokkingcode.wordpress.com/2008/10/09/getting-a-number-in-an-aspx-script/#comment-417</link>
		<dc:creator>Safely Retrieving Values In ASP.Net 2.0 &#171; Grokking Code</dc:creator>
		<pubDate>Sat, 17 Jan 2009 04:30:37 +0000</pubDate>
		<guid isPermaLink="false">http://grokkingcode.wordpress.com/?p=30#comment-417</guid>
		<description>[...] Getting a number in an ASPX&#160;script  [...]</description>
		<content:encoded><![CDATA[<p>[...] Getting a number in an ASPX&nbsp;script  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Catching Unwanted Spiders And Content Scraping Bots In ASP.NET by Catching Unwanted Spiders and Bots In ASP.Net 2.0 &#171; Grokking Code</title>
		<link>http://grokkingcode.wordpress.com/2008/01/13/catching-unwanted-spiders-and-content-scraping-bots-in-aspnet/#comment-416</link>
		<dc:creator>Catching Unwanted Spiders and Bots In ASP.Net 2.0 &#171; Grokking Code</dc:creator>
		<pubDate>Mon, 12 Jan 2009 02:59:24 +0000</pubDate>
		<guid isPermaLink="false">http://grokkingcode.wordpress.com/2008/01/13/catching-unwanted-spiders-and-content-scraping-bots-in-aspnet/#comment-416</guid>
		<description>[...] January 12, 2009 &#8212; Ryan Grange   This is an upgrade of the code previously posted in Catching Unwanted Spiders And Content Scraping Bots In ASP.NET. To use it, add the following to your code-behind files on the page you&#8217;ve set up to catch [...]</description>
		<content:encoded><![CDATA[<p>[...] January 12, 2009 &#8212; Ryan Grange   This is an upgrade of the code previously posted in Catching Unwanted Spiders And Content Scraping Bots In ASP.NET. To use it, add the following to your code-behind files on the page you&#8217;ve set up to catch [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Cleaning user input for use in SQL statements by SewpressWap</title>
		<link>http://grokkingcode.wordpress.com/2008/01/04/cleaning-user-input-for-use-in-t-sql-statements/#comment-415</link>
		<dc:creator>SewpressWap</dc:creator>
		<pubDate>Fri, 09 Jan 2009 08:56:17 +0000</pubDate>
		<guid isPermaLink="false">http://grokkingcode.wordpress.com/2008/01/04/cleaning-user-input-for-use-in-t-sql-statements/#comment-415</guid>
		<description>[The logic puzzle sent by this user has been removed as off-topic, but not spam.]</description>
		<content:encoded><![CDATA[<p>[The logic puzzle sent by this user has been removed as off-topic, but not spam.]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Howto: Posting code on your free WordPress blog by Pzdusiwl</title>
		<link>http://grokkingcode.wordpress.com/2008/01/13/howto-posting-code-on-your-free-wordpress-blog/#comment-414</link>
		<dc:creator>Pzdusiwl</dc:creator>
		<pubDate>Sat, 13 Dec 2008 16:49:27 +0000</pubDate>
		<guid isPermaLink="false">http://grokkingcode.wordpress.com/2008/01/13/howto-posting-code-on-your-free-wordpress-blog/#comment-414</guid>
		<description>Thanks!,</description>
		<content:encoded><![CDATA[<p>Thanks!,</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sharing cookies between ASP and ASP.Net by Bhuvana</title>
		<link>http://grokkingcode.wordpress.com/2008/02/06/sharing-cookies-between-asp-and-aspnet/#comment-412</link>
		<dc:creator>Bhuvana</dc:creator>
		<pubDate>Mon, 10 Nov 2008 21:13:32 +0000</pubDate>
		<guid isPermaLink="false">http://grokkingcode.wordpress.com/2008/02/06/sharing-cookies-between-asp-and-aspnet/#comment-412</guid>
		<description>The below javascript can be used to retrieve cookie values in any web page.

The below script can be added to &quot;Links&quot; list(name it &#039;Show Cookies&#039;) in IE. Then, you can just click &#039;Show Cookies&#039; from Links tab and drag &amp; drop in any web page. 

javascript:var aCookie=document.cookie.split(&quot;; &quot;);for(var i = 0; i &lt; aCookie.length; i++){document.write(unescape(aCookie[i]) + &quot;&quot;);}</description>
		<content:encoded><![CDATA[<p>The below javascript can be used to retrieve cookie values in any web page.</p>
<p>The below script can be added to &#8220;Links&#8221; list(name it &#8216;Show Cookies&#8217;) in IE. Then, you can just click &#8216;Show Cookies&#8217; from Links tab and drag &amp; drop in any web page. </p>
<p>javascript:var aCookie=document.cookie.split(&#8220;; &#8220;);for(var i = 0; i &lt; aCookie.length; i++){document.write(unescape(aCookie[i]) + &#8220;&#8221;);}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sharing cookies between ASP and ASP.Net by Ryan Grange</title>
		<link>http://grokkingcode.wordpress.com/2008/02/06/sharing-cookies-between-asp-and-aspnet/#comment-410</link>
		<dc:creator>Ryan Grange</dc:creator>
		<pubDate>Fri, 17 Oct 2008 06:14:07 +0000</pubDate>
		<guid isPermaLink="false">http://grokkingcode.wordpress.com/2008/02/06/sharing-cookies-between-asp-and-aspnet/#comment-410</guid>
		<description>Assuming the pages are hosted in a test environment, you could enable the trace output on the page giving you issues with cookies.  In the  declaration add the property Trace=&quot;true&quot;.  You should see the cookies being received by the page in the results.
Cookies you write can be read out easily with the web developer extension for Firefox.  With IE, there may be some kind of add-on for that, or you may want to make a shortcut to your cookies folder so you can look at the text it stored directly.
Also, bear in mind that the code I posted above was meant as a rough idea.  You&#039;ll also need to test for the existence of the cookie before retrieving it or you could trigger a null reference exception.</description>
		<content:encoded><![CDATA[<p>Assuming the pages are hosted in a test environment, you could enable the trace output on the page giving you issues with cookies.  In the  declaration add the property Trace=&#8221;true&#8221;.  You should see the cookies being received by the page in the results.<br />
Cookies you write can be read out easily with the web developer extension for Firefox.  With IE, there may be some kind of add-on for that, or you may want to make a shortcut to your cookies folder so you can look at the text it stored directly.<br />
Also, bear in mind that the code I posted above was meant as a rough idea.  You&#8217;ll also need to test for the existence of the cookie before retrieving it or you could trigger a null reference exception.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sharing cookies between ASP and ASP.Net by Wayne</title>
		<link>http://grokkingcode.wordpress.com/2008/02/06/sharing-cookies-between-asp-and-aspnet/#comment-409</link>
		<dc:creator>Wayne</dc:creator>
		<pubDate>Thu, 02 Oct 2008 19:44:19 +0000</pubDate>
		<guid isPermaLink="false">http://grokkingcode.wordpress.com/2008/02/06/sharing-cookies-between-asp-and-aspnet/#comment-409</guid>
		<description>Here&#039;s an interesting observation. In the above scenario firefox works fine and maintain state going from asp pages to asp.net pages and back again.

IE 6 and 7 do not, as soon as I hit the asp.net page it loses the cookie.

What&#039;s up with that?</description>
		<content:encoded><![CDATA[<p>Here&#8217;s an interesting observation. In the above scenario firefox works fine and maintain state going from asp pages to asp.net pages and back again.</p>
<p>IE 6 and 7 do not, as soon as I hit the asp.net page it loses the cookie.</p>
<p>What&#8217;s up with that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sharing cookies between ASP and ASP.Net by Wayne</title>
		<link>http://grokkingcode.wordpress.com/2008/02/06/sharing-cookies-between-asp-and-aspnet/#comment-408</link>
		<dc:creator>Wayne</dc:creator>
		<pubDate>Tue, 30 Sep 2008 20:59:14 +0000</pubDate>
		<guid isPermaLink="false">http://grokkingcode.wordpress.com/2008/02/06/sharing-cookies-between-asp-and-aspnet/#comment-408</guid>
		<description>Thanks for the reply. Let me ask you this, I&#039;m trying to read the cookie in ASP.NET from ASP then write it in ASP.NET hoping this will work. What I&#039;m doing is using cookie variables in a JavaScript menu application called from the ASP or ASP.NET pages. Currently when it hits the ASP.NET application page the cookie value becomes null, so the JavaAcript isn&#039;t capable of reading the cookie apparently when invoked by ASP.NET.

My thought is to read the cookie in ASP.NET, then write it in ASP.NET, then call the JavaScript routine hoping that now it will read the cookie correctly.

To that point, since I know almost nothing about .NET yet, what is the code to write the cookie again? I would read it with your snippet above, then immediately write it with the same cookie name. Will JavaScript read it correctly?</description>
		<content:encoded><![CDATA[<p>Thanks for the reply. Let me ask you this, I&#8217;m trying to read the cookie in ASP.NET from ASP then write it in ASP.NET hoping this will work. What I&#8217;m doing is using cookie variables in a JavaScript menu application called from the ASP or ASP.NET pages. Currently when it hits the ASP.NET application page the cookie value becomes null, so the JavaAcript isn&#8217;t capable of reading the cookie apparently when invoked by ASP.NET.</p>
<p>My thought is to read the cookie in ASP.NET, then write it in ASP.NET, then call the JavaScript routine hoping that now it will read the cookie correctly.</p>
<p>To that point, since I know almost nothing about .NET yet, what is the code to write the cookie again? I would read it with your snippet above, then immediately write it with the same cookie name. Will JavaScript read it correctly?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sharing cookies between ASP and ASP.Net by Ryan Grange</title>
		<link>http://grokkingcode.wordpress.com/2008/02/06/sharing-cookies-between-asp-and-aspnet/#comment-407</link>
		<dc:creator>Ryan Grange</dc:creator>
		<pubDate>Fri, 26 Sep 2008 22:08:31 +0000</pubDate>
		<guid isPermaLink="false">http://grokkingcode.wordpress.com/2008/02/06/sharing-cookies-between-asp-and-aspnet/#comment-407</guid>
		<description>If you are working with an .aspx.vb or .aspx.cs file, the longhand method would be...

string cookieValue = HttpUtility.UrlDecode( Request.Cookies[ HttpUtility.UrlEncode( &quot;Cookie Name&quot; ) ] );

When setting a cookie value in the Request.Cookies collection, be sure to HttpUtility.UrlEncode both the name of the cookie and the value as well.</description>
		<content:encoded><![CDATA[<p>If you are working with an .aspx.vb or .aspx.cs file, the longhand method would be&#8230;</p>
<p>string cookieValue = HttpUtility.UrlDecode( Request.Cookies[ HttpUtility.UrlEncode( "Cookie Name" ) ] );</p>
<p>When setting a cookie value in the Request.Cookies collection, be sure to HttpUtility.UrlEncode both the name of the cookie and the value as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sharing cookies between ASP and ASP.Net by Wayne</title>
		<link>http://grokkingcode.wordpress.com/2008/02/06/sharing-cookies-between-asp-and-aspnet/#comment-406</link>
		<dc:creator>Wayne</dc:creator>
		<pubDate>Fri, 26 Sep 2008 20:04:14 +0000</pubDate>
		<guid isPermaLink="false">http://grokkingcode.wordpress.com/2008/02/06/sharing-cookies-between-asp-and-aspnet/#comment-406</guid>
		<description>So how exactly is that done on the asp.net side?</description>
		<content:encoded><![CDATA[<p>So how exactly is that done on the asp.net side?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
