<?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 sessions across subdomains , the multiple servers issue!</title>
	<atom:link href="http://www.decodephp.com/2006/11/16/php-sessions-across-subdomains-the-multiple-servers-issue/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.decodephp.com/2006/11/16/php-sessions-across-subdomains-the-multiple-servers-issue/</link>
	<description></description>
	<lastBuildDate>Wed, 20 Apr 2011 18:43:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>By: Sabeen Malik</title>
		<link>http://www.decodephp.com/2006/11/16/php-sessions-across-subdomains-the-multiple-servers-issue/comment-page-1/#comment-250</link>
		<dc:creator>Sabeen Malik</dc:creator>
		<pubDate>Mon, 03 Aug 2009 14:42:43 +0000</pubDate>
		<guid isPermaLink="false">http://decodephp.com/new2/?p=22#comment-250</guid>
		<description>You can use memcache or if you want to keep it simple you can utilize a database to keep track of the data via the session id , which can be maintained across multiple servers. hope this helps.</description>
		<content:encoded><![CDATA[<p>You can use memcache or if you want to keep it simple you can utilize a database to keep track of the data via the session id , which can be maintained across multiple servers. hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Gnoth</title>
		<link>http://www.decodephp.com/2006/11/16/php-sessions-across-subdomains-the-multiple-servers-issue/comment-page-1/#comment-249</link>
		<dc:creator>Christian Gnoth</dc:creator>
		<pubDate>Mon, 03 Aug 2009 14:25:46 +0000</pubDate>
		<guid isPermaLink="false">http://decodephp.com/new2/?p=22#comment-249</guid>
		<description>Hello,
how I can use sessions across multiple servers? How to check if the server has changed?
Domain is teh same but different server are used?
How to keep the Session Data consistent?</description>
		<content:encoded><![CDATA[<p>Hello,<br />
how I can use sessions across multiple servers? How to check if the server has changed?<br />
Domain is teh same but different server are used?<br />
How to keep the Session Data consistent?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mario</title>
		<link>http://www.decodephp.com/2006/11/16/php-sessions-across-subdomains-the-multiple-servers-issue/comment-page-1/#comment-179</link>
		<dc:creator>Mario</dc:creator>
		<pubDate>Thu, 15 Jan 2009 23:25:21 +0000</pubDate>
		<guid isPermaLink="false">http://decodephp.com/new2/?p=22#comment-179</guid>
		<description>Hi, I&#039;m in developing a cross-web-server session handling solution and stumble upon your blog :) You mentioned &quot;now there is one thing we do have as common on both ends&quot; and you are not using a common DB for that purpose; are u using NFS, memcached ? Or how are you keeping same sessions simultaneously on both ends ?

Regards,
Mario</description>
		<content:encoded><![CDATA[<p>Hi, I&#8217;m in developing a cross-web-server session handling solution and stumble upon your blog <img src='http://www.decodephp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  You mentioned &#8220;now there is one thing we do have as common on both ends&#8221; and you are not using a common DB for that purpose; are u using NFS, memcached ? Or how are you keeping same sessions simultaneously on both ends ?</p>
<p>Regards,<br />
Mario</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://www.decodephp.com/2006/11/16/php-sessions-across-subdomains-the-multiple-servers-issue/comment-page-1/#comment-23</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Wed, 31 Jan 2007 13:26:12 +0000</pubDate>
		<guid isPermaLink="false">http://decodephp.com/new2/?p=22#comment-23</guid>
		<description>I managed to create a not very invasive solution to this problem.

Its somewhat advanced in the sense it involves mod-rewrite and php image manipulation.  The way I did it was to use images.
For example http://something.com/something/spacer.jpg
gets mod-rewrite to a script set_cookies.php?perv_id=1234&amp;scroll=left&amp;right_scroll=right&amp;mascot_header=no
then when you throw this up in an  it will set the cookies on pussybum from beaverbum.

set_cookies.php sets the cookeis then pulls a 1x1 white image and displays it.  So to set 9 cookies i end up with a little 9 pixel spot on my page.  i have this working on the same server but it should work across multiple servers too since the variables get passed through GET</description>
		<content:encoded><![CDATA[<p>I managed to create a not very invasive solution to this problem.</p>
<p>Its somewhat advanced in the sense it involves mod-rewrite and php image manipulation.  The way I did it was to use images.<br />
For example <a href="http://something.com/something/spacer.jpg" rel="nofollow">http://something.com/something/spacer.jpg</a><br />
gets mod-rewrite to a script set_cookies.php?perv_id=1234&amp;scroll=left&amp;right_scroll=right&amp;mascot_header=no<br />
then when you throw this up in an  it will set the cookies on pussybum from beaverbum.</p>
<p>set_cookies.php sets the cookeis then pulls a 1&#215;1 white image and displays it.  So to set 9 cookies i end up with a little 9 pixel spot on my page.  i have this working on the same server but it should work across multiple servers too since the variables get passed through GET</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anup</title>
		<link>http://www.decodephp.com/2006/11/16/php-sessions-across-subdomains-the-multiple-servers-issue/comment-page-1/#comment-22</link>
		<dc:creator>Anup</dc:creator>
		<pubDate>Wed, 03 Jan 2007 10:02:35 +0000</pubDate>
		<guid isPermaLink="false">http://decodephp.com/new2/?p=22#comment-22</guid>
		<description>Hi,
  i am a PHP programmer, I have problem simililar to this post but a little different.

I have two sites on same server say www.abc.com and www.xyz.com, I want to set cookie or session on www.abc.com which can be accessed from www.xyz.com, is this possible ?

Regards
Anup Singh</description>
		<content:encoded><![CDATA[<p>Hi,<br />
  i am a PHP programmer, I have problem simililar to this post but a little different.</p>
<p>I have two sites on same server say <a href="http://www.abc.com" rel="nofollow">http://www.abc.com</a> and <a href="http://www.xyz.com" rel="nofollow">http://www.xyz.com</a>, I want to set cookie or session on <a href="http://www.abc.com" rel="nofollow">http://www.abc.com</a> which can be accessed from <a href="http://www.xyz.com" rel="nofollow">http://www.xyz.com</a>, is this possible ?</p>
<p>Regards<br />
Anup Singh</p>
]]></content:encoded>
	</item>
</channel>
</rss>

