<?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: CakePHP User Auth</title>
	<atom:link href="http://www.alanblainewhitney.com/2008/03/15/cakephp-user-auth/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alanblainewhitney.com/2008/03/15/cakephp-user-auth/</link>
	<description>Web Development</description>
	<pubDate>Wed, 07 Jan 2009 14:42:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Alan Whitney</title>
		<link>http://www.alanblainewhitney.com/2008/03/15/cakephp-user-auth/comment-page-1/#comment-252</link>
		<dc:creator>Alan Whitney</dc:creator>
		<pubDate>Wed, 24 Sep 2008 13:26:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.alanblainewhitney.com/?p=29#comment-252</guid>
		<description>If you are using cake 1.2RC2, the manual is the only way to go.  It's the only good way to do auth.

http://manual.cakephp.org/view/172/Authentication</description>
		<content:encoded><![CDATA[<p>If you are using cake 1.2RC2, the manual is the only way to go.  It&#8217;s the only good way to do auth.</p>
<p><a href="http://manual.cakephp.org/view/172/Authentication" rel="nofollow">http://manual.cakephp.org/view/172/Authentication</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manish Sanger</title>
		<link>http://www.alanblainewhitney.com/2008/03/15/cakephp-user-auth/comment-page-1/#comment-251</link>
		<dc:creator>Manish Sanger</dc:creator>
		<pubDate>Wed, 24 Sep 2008 12:48:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.alanblainewhitney.com/?p=29#comment-251</guid>
		<description>Hi 
tried this method using request handler, but it loads the login page in a updating div.
Please help.
Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hi<br />
tried this method using request handler, but it loads the login page in a updating div.<br />
Please help.<br />
Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan Whitney</title>
		<link>http://www.alanblainewhitney.com/2008/03/15/cakephp-user-auth/comment-page-1/#comment-10</link>
		<dc:creator>Alan Whitney</dc:creator>
		<pubDate>Mon, 31 Mar 2008 12:23:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.alanblainewhitney.com/?p=29#comment-10</guid>
		<description>thanks audru, that is a good idea.</description>
		<content:encoded><![CDATA[<p>thanks audru, that is a good idea.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andru</title>
		<link>http://www.alanblainewhitney.com/2008/03/15/cakephp-user-auth/comment-page-1/#comment-9</link>
		<dc:creator>andru</dc:creator>
		<pubDate>Mon, 31 Mar 2008 10:57:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.alanblainewhitney.com/?p=29#comment-9</guid>
		<description>Also for your validation, you could just make one method to check the uniqueness of a field, and pass the field name in as a parameter ;)</description>
		<content:encoded><![CDATA[<p>Also for your validation, you could just make one method to check the uniqueness of a field, and pass the field name in as a parameter <img src='http://www.alanblainewhitney.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan Whitney</title>
		<link>http://www.alanblainewhitney.com/2008/03/15/cakephp-user-auth/comment-page-1/#comment-4</link>
		<dc:creator>Alan Whitney</dc:creator>
		<pubDate>Mon, 17 Mar 2008 10:21:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.alanblainewhitney.com/?p=29#comment-4</guid>
		<description>Sorry for the no tabs.  Just had a little problem with the wordpress editor.  I am working on a better login redirect, to redirect to the page that they were trying to go to.

I don't think it infinite loops (the code is in use), I only call checkSession on pages where login is required.</description>
		<content:encoded><![CDATA[<p>Sorry for the no tabs.  Just had a little problem with the wordpress editor.  I am working on a better login redirect, to redirect to the page that they were trying to go to.</p>
<p>I don&#8217;t think it infinite loops (the code is in use), I only call checkSession on pages where login is required.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hutchic</title>
		<link>http://www.alanblainewhitney.com/2008/03/15/cakephp-user-auth/comment-page-1/#comment-3</link>
		<dc:creator>hutchic</dc:creator>
		<pubDate>Mon, 17 Mar 2008 04:12:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.alanblainewhitney.com/?p=29#comment-3</guid>
		<description>I know I'm paranoid but I allways NULL out sensitive information before creating a session ie:

$user['password'] = NULL;
$this-&#62;Session-&#62;write('User', $user);

but that's just my personal preference.  I'd also suggest a way to set a redirect in the login functionality.  In checksession if there is no user session and the action requested wasn't the login /logout action or any others that would infinite loop set a session variable called redirect.  Then on login use that variable for $this-&#62;redirect .... also proper tabbing would make this more readable ;)</description>
		<content:encoded><![CDATA[<p>I know I&#8217;m paranoid but I allways NULL out sensitive information before creating a session ie:</p>
<p>$user['password'] = NULL;<br />
$this-&gt;Session-&gt;write(&#8217;User&#8217;, $user);</p>
<p>but that&#8217;s just my personal preference.  I&#8217;d also suggest a way to set a redirect in the login functionality.  In checksession if there is no user session and the action requested wasn&#8217;t the login /logout action or any others that would infinite loop set a session variable called redirect.  Then on login use that variable for $this-&gt;redirect &#8230;. also proper tabbing would make this more readable <img src='http://www.alanblainewhitney.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
