<?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: WordPress w/ Forms Authentication on IIS6</title>
	<atom:link href="http://blog.dmbcllc.com/2008/05/21/wordpress-w-forms-authentication-on-iis6/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.dmbcllc.com/2008/05/21/wordpress-w-forms-authentication-on-iis6/</link>
	<description>ASP.NET, HTML, CSS, Visual Studio, CSharp, VB.NET and other programming items of interest.</description>
	<lastBuildDate>Mon, 15 Mar 2010 11:52:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Khalil</title>
		<link>http://blog.dmbcllc.com/2008/05/21/wordpress-w-forms-authentication-on-iis6/comment-page-1/#comment-1145</link>
		<dc:creator>Khalil</dc:creator>
		<pubDate>Wed, 03 Dec 2008 17:56:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/05/21/wordpress-w-forms-authentication-on-iis6/#comment-1145</guid>
		<description>Hi Dave,
the function is working properly, but the problem is that when the user is logs out, and after deleting the cookie we created in the asp page, the user is considered still logged in, because wordpress cookies aren&#039;t deleted, any solution for that?</description>
		<content:encoded><![CDATA[<p>Hi Dave,<br />
the function is working properly, but the problem is that when the user is logs out, and after deleting the cookie we created in the asp page, the user is considered still logged in, because wordpress cookies aren&#8217;t deleted, any solution for that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kaly</title>
		<link>http://blog.dmbcllc.com/2008/05/21/wordpress-w-forms-authentication-on-iis6/comment-page-1/#comment-1081</link>
		<dc:creator>Kaly</dc:creator>
		<pubDate>Tue, 11 Nov 2008 09:09:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/05/21/wordpress-w-forms-authentication-on-iis6/#comment-1081</guid>
		<description>Hello Dave,
I know you have to delete the cookie, I created a button in the sidebar that links to a php page with a simple code to delete the cookie we created earlier, but it&#039;s not deleting anything, is there an easier way to implement it with the logout button of wordpress?

Thanks</description>
		<content:encoded><![CDATA[<p>Hello Dave,<br />
I know you have to delete the cookie, I created a button in the sidebar that links to a php page with a simple code to delete the cookie we created earlier, but it&#8217;s not deleting anything, is there an easier way to implement it with the logout button of wordpress?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://blog.dmbcllc.com/2008/05/21/wordpress-w-forms-authentication-on-iis6/comment-page-1/#comment-1080</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 10 Nov 2008 12:51:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/05/21/wordpress-w-forms-authentication-on-iis6/#comment-1080</guid>
		<description>Right, you&#039;ll need to delete the cookie.</description>
		<content:encoded><![CDATA[<p>Right, you&#8217;ll need to delete the cookie.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elie</title>
		<link>http://blog.dmbcllc.com/2008/05/21/wordpress-w-forms-authentication-on-iis6/comment-page-1/#comment-1078</link>
		<dc:creator>Elie</dc:creator>
		<pubDate>Mon, 10 Nov 2008 12:45:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/05/21/wordpress-w-forms-authentication-on-iis6/#comment-1078</guid>
		<description>Kaly is right
the logout isn&#039;t working</description>
		<content:encoded><![CDATA[<p>Kaly is right<br />
the logout isn&#8217;t working</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kaly</title>
		<link>http://blog.dmbcllc.com/2008/05/21/wordpress-w-forms-authentication-on-iis6/comment-page-1/#comment-1077</link>
		<dc:creator>Kaly</dc:creator>
		<pubDate>Mon, 10 Nov 2008 08:58:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/05/21/wordpress-w-forms-authentication-on-iis6/#comment-1077</guid>
		<description>Hello Dave,
I finally got it to work ! 
The only problem I&#039;m facing is the logout ! 
When I click logout nothing&#039;s happening, maybe a code should be added to delete the cookie on logout?</description>
		<content:encoded><![CDATA[<p>Hello Dave,<br />
I finally got it to work !<br />
The only problem I&#8217;m facing is the logout !<br />
When I click logout nothing&#8217;s happening, maybe a code should be added to delete the cookie on logout?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://blog.dmbcllc.com/2008/05/21/wordpress-w-forms-authentication-on-iis6/comment-page-1/#comment-1066</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Thu, 06 Nov 2008 13:52:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/05/21/wordpress-w-forms-authentication-on-iis6/#comment-1066</guid>
		<description>Sorry, I&#039;m not sure that the code would help you if you don&#039;t know .NET

If you are using .NET 2.0 or greater, you&#039;ll need to trap the authentication event handler to set the cookie once the use has been authenticated.  If you are using .NET 1.1 you&#039;d have to roll your own authentication anyhow.</description>
		<content:encoded><![CDATA[<p>Sorry, I&#8217;m not sure that the code would help you if you don&#8217;t know .NET</p>
<p>If you are using .NET 2.0 or greater, you&#8217;ll need to trap the authentication event handler to set the cookie once the use has been authenticated.  If you are using .NET 1.1 you&#8217;d have to roll your own authentication anyhow.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kaly</title>
		<link>http://blog.dmbcllc.com/2008/05/21/wordpress-w-forms-authentication-on-iis6/comment-page-1/#comment-1065</link>
		<dc:creator>Kaly</dc:creator>
		<pubDate>Thu, 06 Nov 2008 13:43:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/05/21/wordpress-w-forms-authentication-on-iis6/#comment-1065</guid>
		<description>Hello Dave,
Is there a demo Login.aspx page for this method? I don&#039;t seem to get it to work properly coz I lag knowledge in .NET
Thanks

Kaly</description>
		<content:encoded><![CDATA[<p>Hello Dave,<br />
Is there a demo Login.aspx page for this method? I don&#8217;t seem to get it to work properly coz I lag knowledge in .NET<br />
Thanks</p>
<p>Kaly</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://blog.dmbcllc.com/2008/05/21/wordpress-w-forms-authentication-on-iis6/comment-page-1/#comment-1004</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 17 Oct 2008 11:46:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/05/21/wordpress-w-forms-authentication-on-iis6/#comment-1004</guid>
		<description>Cookies are domain specific.  So, no it won&#039;t work.

We placed our blog as a subdirectory under our asp.net site.

You MAY be able to get it to work across domains by doing something with redirects and passing parameters but that sounds like a recipe for a security issue to me.</description>
		<content:encoded><![CDATA[<p>Cookies are domain specific.  So, no it won&#8217;t work.</p>
<p>We placed our blog as a subdirectory under our asp.net site.</p>
<p>You MAY be able to get it to work across domains by doing something with redirects and passing parameters but that sounds like a recipe for a security issue to me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kaly</title>
		<link>http://blog.dmbcllc.com/2008/05/21/wordpress-w-forms-authentication-on-iis6/comment-page-1/#comment-1003</link>
		<dc:creator>Kaly</dc:creator>
		<pubDate>Fri, 17 Oct 2008 11:41:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/05/21/wordpress-w-forms-authentication-on-iis6/#comment-1003</guid>
		<description>Thanks for your reply Dave,
but the script doesn&#039;t seem to work with me.
When I replaced the wp-login.php file with your script, the first problem i faced was :
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\wordpress\wp-login.php:16) in C:\Program Files\xampp\htdocs\wordpress\wp-login.php on line 40

Then I took off the &quot;echo &#039;smartLogin&#039;; line and it worked...
Now the next problem is that I don&#039;t think the script is creating any usier, in other words, if i click on LOGIN in wordpress, it redirects me to the login.aspx page but that&#039;s the only thing that it&#039;s doing, it&#039;s not creating the cookie and it&#039;s not creating any user in wordpress DB

Any ideas?

PS: will this script work if I&#039;m using two seperate domains? if wordpress is hosted on a unix server and my .net application is hosted on a windows server?

Thanks
Kaly</description>
		<content:encoded><![CDATA[<p>Thanks for your reply Dave,<br />
but the script doesn&#8217;t seem to work with me.<br />
When I replaced the wp-login.php file with your script, the first problem i faced was :<br />
Warning: Cannot modify header information &#8211; headers already sent by (output started at C:\Program Files\xampp\htdocs\wordpress\wp-login.php:16) in C:\Program Files\xampp\htdocs\wordpress\wp-login.php on line 40</p>
<p>Then I took off the &#8220;echo &#8217;smartLogin&#8217;; line and it worked&#8230;<br />
Now the next problem is that I don&#8217;t think the script is creating any usier, in other words, if i click on LOGIN in wordpress, it redirects me to the login.aspx page but that&#8217;s the only thing that it&#8217;s doing, it&#8217;s not creating the cookie and it&#8217;s not creating any user in wordpress DB</p>
<p>Any ideas?</p>
<p>PS: will this script work if I&#8217;m using two seperate domains? if wordpress is hosted on a unix server and my .net application is hosted on a windows server?</p>
<p>Thanks<br />
Kaly</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://blog.dmbcllc.com/2008/05/21/wordpress-w-forms-authentication-on-iis6/comment-page-1/#comment-997</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 17 Oct 2008 10:53:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/05/21/wordpress-w-forms-authentication-on-iis6/#comment-997</guid>
		<description>The easiest thing to do is to create a user using this method.  Turn off this method long enough to login as admin and set the new user to have admin rights and then turn this back on.  Admin won&#039;t be available while this is turned on.</description>
		<content:encoded><![CDATA[<p>The easiest thing to do is to create a user using this method.  Turn off this method long enough to login as admin and set the new user to have admin rights and then turn this back on.  Admin won&#8217;t be available while this is turned on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kaly</title>
		<link>http://blog.dmbcllc.com/2008/05/21/wordpress-w-forms-authentication-on-iis6/comment-page-1/#comment-996</link>
		<dc:creator>Kaly</dc:creator>
		<pubDate>Fri, 17 Oct 2008 08:58:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/05/21/wordpress-w-forms-authentication-on-iis6/#comment-996</guid>
		<description>Hello There,
I haven&#039;t tried the code yet, but before doing so, what about the admin account in wordpress? the one you enter when installing wordpress?</description>
		<content:encoded><![CDATA[<p>Hello There,<br />
I haven&#8217;t tried the code yet, but before doing so, what about the admin account in wordpress? the one you enter when installing wordpress?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lloyd Budd</title>
		<link>http://blog.dmbcllc.com/2008/05/21/wordpress-w-forms-authentication-on-iis6/comment-page-1/#comment-497</link>
		<dc:creator>Lloyd Budd</dc:creator>
		<pubDate>Wed, 21 May 2008 14:43:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/05/21/wordpress-w-forms-authentication-on-iis6/#comment-497</guid>
		<description>Very cool addition to the WordPress toolbox.</description>
		<content:encoded><![CDATA[<p>Very cool addition to the WordPress toolbox.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.223 seconds -->
