<?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: Login and authentication class</title>
	<atom:link href="http://www.designing4u.de/2008/05/authentication-class/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.designing4u.de/2008/05/authentication-class/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=authentication-class</link>
	<description>Yet Another Coding Blog</description>
	<lastBuildDate>Fri, 23 Sep 2011 08:55:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Wojtek</title>
		<link>http://www.designing4u.de/2008/05/authentication-class/comment-page-1/#comment-85</link>
		<dc:creator>Wojtek</dc:creator>
		<pubDate>Sun, 19 Apr 2009 09:57:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.designing4u.de/?p=5#comment-85</guid>
		<description>@Shahalam

I&#039;m glad to hear that :)</description>
		<content:encoded><![CDATA[<p>@Shahalam</p>
<p>I&#8217;m glad to hear that <img src='http://www.designing4u.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wojtek</title>
		<link>http://www.designing4u.de/2008/05/authentication-class/comment-page-1/#comment-83</link>
		<dc:creator>Wojtek</dc:creator>
		<pubDate>Sun, 19 Apr 2009 09:48:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.designing4u.de/?p=5#comment-83</guid>
		<description>Hi damn,

that&#039;s a really good observation. The fastest way to fix that would be to change the constructor and replace the line where we set the password with this one:

$this-&gt;user_pass = (isset($_SESSION[&#039;user&#039;])) ? $userpass : md5($userpass);

I&#039;ll change the source. Thanks :)</description>
		<content:encoded><![CDATA[<p>Hi damn,</p>
<p>that&#8217;s a really good observation. The fastest way to fix that would be to change the constructor and replace the line where we set the password with this one:</p>
<p>$this->user_pass = (isset($_SESSION['user'])) ? $userpass : md5($userpass);</p>
<p>I&#8217;ll change the source. Thanks <img src='http://www.designing4u.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shahalam</title>
		<link>http://www.designing4u.de/2008/05/authentication-class/comment-page-1/#comment-81</link>
		<dc:creator>Shahalam</dc:creator>
		<pubDate>Fri, 17 Apr 2009 22:21:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.designing4u.de/?p=5#comment-81</guid>
		<description>Excellent, I have used this code and logic for login and authentication. Really i am very excited feelings from this code because it was very helpful for me.</description>
		<content:encoded><![CDATA[<p>Excellent, I have used this code and logic for login and authentication. Really i am very excited feelings from this code because it was very helpful for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: damn</title>
		<link>http://www.designing4u.de/2008/05/authentication-class/comment-page-1/#comment-79</link>
		<dc:creator>damn</dc:creator>
		<pubDate>Fri, 10 Apr 2009 09:34:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.designing4u.de/?p=5#comment-79</guid>
		<description>Hi!

Good post! The only problem when you try to check user in auth.php :

$login = new Login($_SESSION[&#039;user&#039;][&#039;user_name&#039;],$_SESSION[&#039;user&#039;][&#039;user_pass&#039;]);
	if($login-&gt;authenticateUser($_SESSION[&#039;user&#039;])) {

you post the session user_pass which is already in md5() and the __construct try to encrypt it again, so it won&#039;t find the right data in db.</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>Good post! The only problem when you try to check user in auth.php :</p>
<p>$login = new Login($_SESSION['user']['user_name'],$_SESSION['user']['user_pass']);<br />
	if($login-&gt;authenticateUser($_SESSION['user'])) {</p>
<p>you post the session user_pass which is already in md5() and the __construct try to encrypt it again, so it won&#8217;t find the right data in db.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wojtek</title>
		<link>http://www.designing4u.de/2008/05/authentication-class/comment-page-1/#comment-67</link>
		<dc:creator>Wojtek</dc:creator>
		<pubDate>Wed, 31 Dec 2008 10:44:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.designing4u.de/?p=5#comment-67</guid>
		<description>Hi raketoplan2005,

Currently I&#039;m pretty busy with work, but as soon as I will find some time I will publish source codes for other examples as well.</description>
		<content:encoded><![CDATA[<p>Hi raketoplan2005,</p>
<p>Currently I&#8217;m pretty busy with work, but as soon as I will find some time I will publish source codes for other examples as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: raketoplan2005</title>
		<link>http://www.designing4u.de/2008/05/authentication-class/comment-page-1/#comment-65</link>
		<dc:creator>raketoplan2005</dc:creator>
		<pubDate>Sun, 28 Dec 2008 21:42:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.designing4u.de/?p=5#comment-65</guid>
		<description>Great post, but could you publish the complete (*.zip archive) source codes of your examples under your posts? Thanks a lot!</description>
		<content:encoded><![CDATA[<p>Great post, but could you publish the complete (*.zip archive) source codes of your examples under your posts? Thanks a lot!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

