<?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: Anatomy of a Well Designed AJAX Login Experience</title>
	<atom:link href="http://aleembawany.com/2006/11/14/anatomy-of-a-well-designed-ajax-login-experience/feed/" rel="self" type="application/rss+xml" />
	<link>http://aleembawany.com/2006/11/14/anatomy-of-a-well-designed-ajax-login-experience/</link>
	<description>tech, web and the rest</description>
	<lastBuildDate>Sat, 05 May 2012 18:55:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Henk Flow</title>
		<link>http://aleembawany.com/2006/11/14/anatomy-of-a-well-designed-ajax-login-experience/comment-page-1/#comment-38257</link>
		<dc:creator>Henk Flow</dc:creator>
		<pubDate>Thu, 14 Apr 2011 08:31:22 +0000</pubDate>
		<guid isPermaLink="false">http://aleembawany.com/2006/11/14/anatomy-of-a-well-designed-ajax-login-experience/#comment-38257</guid>
		<description>&lt;p&gt;Where is that information from? Where can I read that?&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Where is that information from? Where can I read that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aleem</title>
		<link>http://aleembawany.com/2006/11/14/anatomy-of-a-well-designed-ajax-login-experience/comment-page-1/#comment-31691</link>
		<dc:creator>Aleem</dc:creator>
		<pubDate>Sun, 28 Mar 2010 17:40:04 +0000</pubDate>
		<guid isPermaLink="false">http://aleembawany.com/2006/11/14/anatomy-of-a-well-designed-ajax-login-experience/#comment-31691</guid>
		<description>&lt;p&gt;You would need to look up the API for the Javascript library you are using, it should be fairly straightforward to get from the response object. For example, for Prototype.js it looks like: &lt;code&gt;myCookie = response.getHeader(&quot;Set-Cookie&quot;);&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;To get/set Cookies I use a &lt;a href=&quot;http://aleembawany.com/projects/code-snippets/#toc-javascript-cookie-helper&quot; rel=&quot;nofollow&quot;&gt;Javascript Cookie Helper&lt;/a&gt; class.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>You would need to look up the API for the Javascript library you are using, it should be fairly straightforward to get from the response object. For example, for Prototype.js it looks like: <code>myCookie = response.getHeader("Set-Cookie");</code></p>
<p>To get/set Cookies I use a <a href="http://aleembawany.com/projects/code-snippets/#toc-javascript-cookie-helper" rel="nofollow">Javascript Cookie Helper</a> class.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aleem</title>
		<link>http://aleembawany.com/2006/11/14/anatomy-of-a-well-designed-ajax-login-experience/comment-page-1/#comment-31690</link>
		<dc:creator>Aleem</dc:creator>
		<pubDate>Sun, 28 Mar 2010 17:13:36 +0000</pubDate>
		<guid isPermaLink="false">http://aleembawany.com/2006/11/14/anatomy-of-a-well-designed-ajax-login-experience/#comment-31690</guid>
		<description>&lt;p&gt;Indeed you do. Cookies sent in the AJAX response are not set automatically on the client (at least not for all browsers).&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Indeed you do. Cookies sent in the AJAX response are not set automatically on the client (at least not for all browsers).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vlad</title>
		<link>http://aleembawany.com/2006/11/14/anatomy-of-a-well-designed-ajax-login-experience/comment-page-1/#comment-31687</link>
		<dc:creator>Vlad</dc:creator>
		<pubDate>Sun, 28 Mar 2010 11:53:39 +0000</pubDate>
		<guid isPermaLink="false">http://aleembawany.com/2006/11/14/anatomy-of-a-well-designed-ajax-login-experience/#comment-31687</guid>
		<description>&lt;p&gt;Can you tell me please, how do you grab Set-Cookie and then set it?&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Can you tell me please, how do you grab Set-Cookie and then set it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amarghosh</title>
		<link>http://aleembawany.com/2006/11/14/anatomy-of-a-well-designed-ajax-login-experience/comment-page-1/#comment-30835</link>
		<dc:creator>Amarghosh</dc:creator>
		<pubDate>Sat, 30 Jan 2010 05:47:17 +0000</pubDate>
		<guid isPermaLink="false">http://aleembawany.com/2006/11/14/anatomy-of-a-well-designed-ajax-login-experience/#comment-30835</guid>
		<description>&lt;blockquote&gt;
  &lt;p&gt;I grab the entire Set-Cookie header and pass it to document.cookie to set the authentication cookie on the client.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Wouldn&#039;t browser  parse the AJAX response header and set the cookie automatically? Do I need to explicitly set the cookie using &lt;code&gt;xhr.getResponseHeader(&quot;Set-Cookie&quot;);&lt;/code&gt; etc?&lt;/p&gt;</description>
		<content:encoded><![CDATA[<blockquote>
<p>I grab the entire Set-Cookie header and pass it to document.cookie to set the authentication cookie on the client.</p>
</blockquote>
<p>Wouldn&#8217;t browser  parse the AJAX response header and set the cookie automatically? Do I need to explicitly set the cookie using <code>xhr.getResponseHeader("Set-Cookie");</code> etc?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tonmoy Roy</title>
		<link>http://aleembawany.com/2006/11/14/anatomy-of-a-well-designed-ajax-login-experience/comment-page-1/#comment-30233</link>
		<dc:creator>Tonmoy Roy</dc:creator>
		<pubDate>Wed, 16 Dec 2009 12:27:55 +0000</pubDate>
		<guid isPermaLink="false">http://aleembawany.com/2006/11/14/anatomy-of-a-well-designed-ajax-login-experience/#comment-30233</guid>
		<description>&lt;p&gt;Hi,
I liked the article.  Thanks for posting such a useful article. Could you please clarify the following? &lt;/p&gt;

&lt;p&gt;I want to create a login form in ASP.NET 3.5. It is very simple like the user will provide username and password and click submit button. Then the username and password will be checked against an Oracle database. If they exist, then the user can view other pages else not. &lt;/p&gt;

&lt;p&gt;Now, for this I can use ASP.NET Login Control OR jQuery Login OR I can use JSON with jQuery OR an AJAX Control. For JSON also there are different ways. I can use WebService, I can use WCF Service or I can use ASP.NET AJAX PageMethods.&lt;/p&gt;

&lt;p&gt;Could you please let me know which method should I use and what will be the pros and cons of all the ways?&lt;/p&gt;

&lt;p&gt;Thanks in advance. 
Tonmoy&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I liked the article.  Thanks for posting such a useful article. Could you please clarify the following? </p>
<p>I want to create a login form in ASP.NET 3.5. It is very simple like the user will provide username and password and click submit button. Then the username and password will be checked against an Oracle database. If they exist, then the user can view other pages else not. </p>
<p>Now, for this I can use ASP.NET Login Control OR jQuery Login OR I can use JSON with jQuery OR an AJAX Control. For JSON also there are different ways. I can use WebService, I can use WCF Service or I can use ASP.NET AJAX PageMethods.</p>
<p>Could you please let me know which method should I use and what will be the pros and cons of all the ways?</p>
<p>Thanks in advance.<br />
Tonmoy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eran</title>
		<link>http://aleembawany.com/2006/11/14/anatomy-of-a-well-designed-ajax-login-experience/comment-page-1/#comment-2614</link>
		<dc:creator>Eran</dc:creator>
		<pubDate>Sun, 18 Mar 2007 05:34:58 +0000</pubDate>
		<guid isPermaLink="false">http://aleembawany.com/2006/11/14/anatomy-of-a-well-designed-ajax-login-experience/#comment-2614</guid>
		<description>I loved the artical, I am working on a web 2.0 website this days
and I encountered many of the issues that you mentioned, I was working today on the signin issue and it&#039;s very complicated if you want to do it good, I work with PHP and when I do the username/password check with AJAX I have a problem with setting the remember me because the cookie can&#039;t be set after the  tag in the page...
anyway, thanks you for the knowledge that you shared here!!</description>
		<content:encoded><![CDATA[<p>I loved the artical, I am working on a web 2.0 website this days<br />
and I encountered many of the issues that you mentioned, I was working today on the signin issue and it&#8217;s very complicated if you want to do it good, I work with PHP and when I do the username/password check with AJAX I have a problem with setting the remember me because the cookie can&#8217;t be set after the  tag in the page&#8230;<br />
anyway, thanks you for the knowledge that you shared here!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

