<?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: PHP Session Cookie Multiple Domains</title>
	<atom:link href="http://www.jontodd.com/2006/08/10/php-session-cookie-multiple-domains/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jontodd.com/2006/08/10/php-session-cookie-multiple-domains/</link>
	<description>Optimal</description>
	<lastBuildDate>Mon, 01 Feb 2010 20:35:31 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mannan</title>
		<link>http://www.jontodd.com/2006/08/10/php-session-cookie-multiple-domains/comment-page-1/#comment-34568</link>
		<dc:creator>Mannan</dc:creator>
		<pubDate>Wed, 23 Dec 2009 09:40:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.jontodd.com/2006/08/10/php-session-cookie-multiple-domains/#comment-34568</guid>
		<description>Hi

I have 3 sub domains and one main domains

Code I am using is:
	session_set_cookie_params(3600,&#039;/&#039;,&#039;.cmela.com&#039;);
	session_start();

But it&#039;s not working... it works fine on main domains but when i go to sub domain it logs out... can you please suggest me anything??

Thank you
-Mannan</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>I have 3 sub domains and one main domains</p>
<p>Code I am using is:<br />
	session_set_cookie_params(3600,&#8217;/',&#8217;.cmela.com&#8217;);<br />
	session_start();</p>
<p>But it&#8217;s not working&#8230; it works fine on main domains but when i go to sub domain it logs out&#8230; can you please suggest me anything??</p>
<p>Thank you<br />
-Mannan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Les</title>
		<link>http://www.jontodd.com/2006/08/10/php-session-cookie-multiple-domains/comment-page-1/#comment-34097</link>
		<dc:creator>Les</dc:creator>
		<pubDate>Mon, 23 Nov 2009 19:56:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.jontodd.com/2006/08/10/php-session-cookie-multiple-domains/#comment-34097</guid>
		<description>I wouldn&#039;t use the domain switch on shared hosting for security reasons; if you have your own box then that would be acceptable, but it&#039;s a whole can of worms if you ask me.</description>
		<content:encoded><![CDATA[<p>I wouldn&#8217;t use the domain switch on shared hosting for security reasons; if you have your own box then that would be acceptable, but it&#8217;s a whole can of worms if you ask me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hemalatha M</title>
		<link>http://www.jontodd.com/2006/08/10/php-session-cookie-multiple-domains/comment-page-1/#comment-33874</link>
		<dc:creator>Hemalatha M</dc:creator>
		<pubDate>Fri, 13 Nov 2009 21:15:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.jontodd.com/2006/08/10/php-session-cookie-multiple-domains/#comment-33874</guid>
		<description>Thanks, Jon. I found your article very helpful and insightful.</description>
		<content:encoded><![CDATA[<p>Thanks, Jon. I found your article very helpful and insightful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nivas</title>
		<link>http://www.jontodd.com/2006/08/10/php-session-cookie-multiple-domains/comment-page-1/#comment-33807</link>
		<dc:creator>nivas</dc:creator>
		<pubDate>Wed, 11 Nov 2009 07:34:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.jontodd.com/2006/08/10/php-session-cookie-multiple-domains/#comment-33807</guid>
		<description>Cool. This article was fine..</description>
		<content:encoded><![CDATA[<p>Cool. This article was fine..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amjith PS</title>
		<link>http://www.jontodd.com/2006/08/10/php-session-cookie-multiple-domains/comment-page-1/#comment-33463</link>
		<dc:creator>Amjith PS</dc:creator>
		<pubDate>Mon, 26 Oct 2009 06:38:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.jontodd.com/2006/08/10/php-session-cookie-multiple-domains/#comment-33463</guid>
		<description>Hi,
Please make it more clear with example code so that medium level developers can also understand. i think you have good idea. but this post doesnt explain the solution properly. Please make some sample piece of code what to be added in php file as well as in .htaccess so that we can apply with out any doubts.

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Please make it more clear with example code so that medium level developers can also understand. i think you have good idea. but this post doesnt explain the solution properly. Please make some sample piece of code what to be added in php file as well as in .htaccess so that we can apply with out any doubts.</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Bell</title>
		<link>http://www.jontodd.com/2006/08/10/php-session-cookie-multiple-domains/comment-page-1/#comment-30523</link>
		<dc:creator>Bill Bell</dc:creator>
		<pubDate>Sun, 02 Aug 2009 19:32:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.jontodd.com/2006/08/10/php-session-cookie-multiple-domains/#comment-30523</guid>
		<description>&lt;p&gt;You can do a 1 pixel image, and set the cookie (for the image) for whatever sites you need. You will get multiple cookies, but that is okay.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>You can do a 1 pixel image, and set the cookie (for the image) for whatever sites you need. You will get multiple cookies, but that is okay.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
