<?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: Secure CakePHP via Sessions &amp; Magic (Login / Logout)</title>
	<atom:link href="http://labs.iamkoa.net/2007/11/08/secure-cakephp-via-sessions-login-logout/feed/" rel="self" type="application/rss+xml" />
	<link>http://labs.iamkoa.net/2007/11/08/secure-cakephp-via-sessions-login-logout/</link>
	<description>I break it. I fix it. You learn.</description>
	<lastBuildDate>Tue, 13 Jul 2010 11:10:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: dayg</title>
		<link>http://labs.iamkoa.net/2007/11/08/secure-cakephp-via-sessions-login-logout/comment-page-1/#comment-305</link>
		<dc:creator>dayg</dc:creator>
		<pubDate>Wed, 21 Jan 2009 04:24:09 +0000</pubDate>
		<guid isPermaLink="false">http://labs.iamkoa.net/2007/11/08/secure-cakephp-via-sessions-login-logout/#comment-305</guid>
		<description>I&#039;m interested in blocking all access to the application...

Is there a simpler way of doing that?

Many thanks in advance.</description>
		<content:encoded><![CDATA[<p>I&#8217;m interested in blocking all access to the application&#8230;</p>
<p>Is there a simpler way of doing that?</p>
<p>Many thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Osamah</title>
		<link>http://labs.iamkoa.net/2007/11/08/secure-cakephp-via-sessions-login-logout/comment-page-1/#comment-303</link>
		<dc:creator>Osamah</dc:creator>
		<pubDate>Wed, 14 Jan 2009 10:34:31 +0000</pubDate>
		<guid isPermaLink="false">http://labs.iamkoa.net/2007/11/08/secure-cakephp-via-sessions-login-logout/#comment-303</guid>
		<description>Thank you,
That was helpfull.</description>
		<content:encoded><![CDATA[<p>Thank you,<br />
That was helpfull.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sackjounas</title>
		<link>http://labs.iamkoa.net/2007/11/08/secure-cakephp-via-sessions-login-logout/comment-page-1/#comment-236</link>
		<dc:creator>sackjounas</dc:creator>
		<pubDate>Wed, 24 Sep 2008 18:33:25 +0000</pubDate>
		<guid isPermaLink="false">http://labs.iamkoa.net/2007/11/08/secure-cakephp-via-sessions-login-logout/#comment-236</guid>
		<description>I&#039;m a newbie, in cakephp and this 1.1 a 1.2 cakephp versions issues are driving me crazy.

I&#039;m trying to do just the same thing but in 1.2 version

does anyone know, where to find something like this but prepared for cakephp ver. 1.2 ?

sorry for my bad english

I think that cakephp 1.2 documentation is poor and don&#039;t know where to find anwers</description>
		<content:encoded><![CDATA[<p>I&#8217;m a newbie, in cakephp and this 1.1 a 1.2 cakephp versions issues are driving me crazy.</p>
<p>I&#8217;m trying to do just the same thing but in 1.2 version</p>
<p>does anyone know, where to find something like this but prepared for cakephp ver. 1.2 ?</p>
<p>sorry for my bad english</p>
<p>I think that cakephp 1.2 documentation is poor and don&#8217;t know where to find anwers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Piotr Kaleta</title>
		<link>http://labs.iamkoa.net/2007/11/08/secure-cakephp-via-sessions-login-logout/comment-page-1/#comment-200</link>
		<dc:creator>Piotr Kaleta</dc:creator>
		<pubDate>Wed, 30 Jul 2008 16:06:13 +0000</pubDate>
		<guid isPermaLink="false">http://labs.iamkoa.net/2007/11/08/secure-cakephp-via-sessions-login-logout/#comment-200</guid>
		<description>Hi

I must say that i&#039;m pretty confused. I treid to work with session&amp;cakephp&amp;redirect and I always ended with erased sesion after redirecting to another controler.

Although, what do you think about putting some nice &quot; exit();&quot; after &lt;code&gt;$this-&gt;redirect&lt;/code&gt;? consider that beacuse when you are redirecting the script is still working</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>I must say that i&#8217;m pretty confused. I treid to work with session&amp;cakephp&amp;redirect and I always ended with erased sesion after redirecting to another controler.</p>
<p>Although, what do you think about putting some nice &#8221; exit();&#8221; after <code>$this->redirect</code>? consider that beacuse when you are redirecting the script is still working</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jdm</title>
		<link>http://labs.iamkoa.net/2007/11/08/secure-cakephp-via-sessions-login-logout/comment-page-1/#comment-150</link>
		<dc:creator>jdm</dc:creator>
		<pubDate>Thu, 15 May 2008 08:25:44 +0000</pubDate>
		<guid isPermaLink="false">http://labs.iamkoa.net/2007/11/08/secure-cakephp-via-sessions-login-logout/#comment-150</guid>
		<description>Thanks 4 letting me about helpers....</description>
		<content:encoded><![CDATA[<p>Thanks 4 letting me about helpers&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ahac</title>
		<link>http://labs.iamkoa.net/2007/11/08/secure-cakephp-via-sessions-login-logout/comment-page-1/#comment-148</link>
		<dc:creator>ahac</dc:creator>
		<pubDate>Wed, 07 May 2008 09:50:11 +0000</pubDate>
		<guid isPermaLink="false">http://labs.iamkoa.net/2007/11/08/secure-cakephp-via-sessions-login-logout/#comment-148</guid>
		<description>jdm: You are probably using Cake 1.2 (which has new form helpers) while this is written for 1.1.</description>
		<content:encoded><![CDATA[<p>jdm: You are probably using Cake 1.2 (which has new form helpers) while this is written for 1.1.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dave</title>
		<link>http://labs.iamkoa.net/2007/11/08/secure-cakephp-via-sessions-login-logout/comment-page-1/#comment-146</link>
		<dc:creator>dave</dc:creator>
		<pubDate>Thu, 01 May 2008 17:56:13 +0000</pubDate>
		<guid isPermaLink="false">http://labs.iamkoa.net/2007/11/08/secure-cakephp-via-sessions-login-logout/#comment-146</guid>
		<description>jdm,

I&#039;m not sure, but it seems like you are using the wrong version of CakePHP. There are certain tasks that were moved from the html helper to the form helper, I am a beginner too so I may be 100% wrong, but those warnings look like the ones I got when I went from Cake 1.1 to Cake 1.2. The helpers should be there, you just may have to replace $html-&gt; with $form-&gt;. Again, I may be wrong, but give it a try.</description>
		<content:encoded><![CDATA[<p>jdm,</p>
<p>I&#8217;m not sure, but it seems like you are using the wrong version of CakePHP. There are certain tasks that were moved from the html helper to the form helper, I am a beginner too so I may be 100% wrong, but those warnings look like the ones I got when I went from Cake 1.1 to Cake 1.2. The helpers should be there, you just may have to replace $html-&gt; with $form-&gt;. Again, I may be wrong, but give it a try.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Javier</title>
		<link>http://labs.iamkoa.net/2007/11/08/secure-cakephp-via-sessions-login-logout/comment-page-1/#comment-142</link>
		<dc:creator>Javier</dc:creator>
		<pubDate>Sat, 26 Apr 2008 16:10:14 +0000</pubDate>
		<guid isPermaLink="false">http://labs.iamkoa.net/2007/11/08/secure-cakephp-via-sessions-login-logout/#comment-142</guid>
		<description>The code works very well, thanks a lot!</description>
		<content:encoded><![CDATA[<p>The code works very well, thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jdm</title>
		<link>http://labs.iamkoa.net/2007/11/08/secure-cakephp-via-sessions-login-logout/comment-page-1/#comment-141</link>
		<dc:creator>jdm</dc:creator>
		<pubDate>Thu, 24 Apr 2008 07:25:40 +0000</pubDate>
		<guid isPermaLink="false">http://labs.iamkoa.net/2007/11/08/secure-cakephp-via-sessions-login-logout/#comment-141</guid>
		<description>I am still a beginner of this,i find difficulty in understanding it..
I downloaded the package but errors are coming out..Please help me with this.

Please explain me why are there errors? What&#039;s wrong with this? 
&lt;pre&gt;&lt;code&gt;
Errors:
- Warning (512): Method HtmlHelper::formTag does not exist [CORE/cake/libs/view/helper.php, line 148]
- Warning (512): Method HtmlHelper::inputTag does not exist [CORE/cake/libs/view/helper.php, line 148]
- Notice (1024): Method tagErrorMsg() is deprecated in HtmlHelper: see FormHelper::error [CORE/cake/libs/view/helpers/html.php, line 801]
- Warning (512): Method HtmlHelper::passwordTag does not exist [CORE/cake/libs/view/helper.php, line 148]
- Warning (512): Method HtmlHelper::submitTag does not exist [CORE/cake/libs/view/helper.php, line 148]
&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>I am still a beginner of this,i find difficulty in understanding it..<br />
I downloaded the package but errors are coming out..Please help me with this.</p>
<p>Please explain me why are there errors? What&#8217;s wrong with this? </p>
<pre><code>
Errors:
- Warning (512): Method HtmlHelper::formTag does not exist [CORE/cake/libs/view/helper.php, line 148]
- Warning (512): Method HtmlHelper::inputTag does not exist [CORE/cake/libs/view/helper.php, line 148]
- Notice (1024): Method tagErrorMsg() is deprecated in HtmlHelper: see FormHelper::error [CORE/cake/libs/view/helpers/html.php, line 801]
- Warning (512): Method HtmlHelper::passwordTag does not exist [CORE/cake/libs/view/helper.php, line 148]
- Warning (512): Method HtmlHelper::submitTag does not exist [CORE/cake/libs/view/helper.php, line 148]
</code></pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: karim</title>
		<link>http://labs.iamkoa.net/2007/11/08/secure-cakephp-via-sessions-login-logout/comment-page-1/#comment-138</link>
		<dc:creator>karim</dc:creator>
		<pubDate>Mon, 21 Apr 2008 00:34:06 +0000</pubDate>
		<guid isPermaLink="false">http://labs.iamkoa.net/2007/11/08/secure-cakephp-via-sessions-login-logout/#comment-138</guid>
		<description>You should add some salt to the md5 :)
&lt;pre&gt;&lt;code&gt;
if ($results &amp;&amp; $results[&#039;User&#039;][&#039;password&#039;] == md5($this-&gt;data[&#039;User&#039;][&#039;password&#039;].&#039;somesalt&#039;))
&lt;/code&gt;&lt;/pre&gt;
and add &#039;somesalt&#039; when you create the user&#039;s record (add action for eg.)</description>
		<content:encoded><![CDATA[<p>You should add some salt to the md5 :)</p>
<pre><code>
if ($results &#038;&#038; $results['User']['password'] == md5($this->data['User']['password'].'somesalt'))
</code></pre>
<p>and add &#8216;somesalt&#8217; when you create the user&#8217;s record (add action for eg.)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
