<?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: Serving images from cookie less domain</title>
	<atom:link href="http://www.infotales.com/serving-images-from-cookie-less-domain/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.infotales.com/serving-images-from-cookie-less-domain/</link>
	<description>Web application performance, Web Server Performance, Data Mining, SEO, MySQL, Magento Performance and much more</description>
	<lastBuildDate>Wed, 01 Sep 2010 05:32:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: shahpar</title>
		<link>http://www.infotales.com/serving-images-from-cookie-less-domain/comment-page-1/#comment-2213</link>
		<dc:creator>shahpar</dc:creator>
		<pubDate>Thu, 26 Aug 2010 15:08:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.infotales.com/?p=401#comment-2213</guid>
		<description>@marc
The message is there because session cookies is being set for *.mywebsite.com and not limited to www.mywebsite.com. If you don&#039;t need sessions than keep &lt;code&gt;session_start()&lt;/code&gt; commented. At the moment i don&#039;t know how to limit session cookie to a domain (as this cookie is not set from set_cookie() function), I think there must be some configuration to tell domain of the session cookie. Please try to set cookie &quot;PHPSESSID&quot; via set_cookie function and give domain param as www.mywebsite.com before the session_start, I am not sure if it will work but no harm in trying.</description>
		<content:encoded><![CDATA[<p>@marc<br />
The message is there because session cookies is being set for *.mywebsite.com and not limited to <a href="http://www.mywebsite.com" rel="nofollow">http://www.mywebsite.com</a>. If you don&#8217;t need sessions than keep <code>session_start()</code> commented. At the moment i don&#8217;t know how to limit session cookie to a domain (as this cookie is not set from set_cookie() function), I think there must be some configuration to tell domain of the session cookie. Please try to set cookie &#8220;PHPSESSID&#8221; via set_cookie function and give domain param as <a href="http://www.mywebsite.com" rel="nofollow">http://www.mywebsite.com</a> before the session_start, I am not sure if it will work but no harm in trying.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc</title>
		<link>http://www.infotales.com/serving-images-from-cookie-less-domain/comment-page-1/#comment-2017</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Wed, 18 Aug 2010 17:20:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.infotales.com/?p=401#comment-2017</guid>
		<description>Hello,

I am trying the same for my website. So i created a static.mywebsite.com subdomain. I still see the message about cookieless domain in the &quot;page speed&quot; addon for mozzila.
Weird since i dont set any cookies on my website? I do use a session.
Commenting the session_start() in the beginning of my php script removes the &quot;cookieless domain&quot; warning. Un-commenting session_start() in my php script results in giving me the freakin warning again.
Seems like a session is setting cookies too??? I dont get it.

Can anyone explain this to me? And what should i do to fix it?

Greetings,

Marc</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I am trying the same for my website. So i created a static.mywebsite.com subdomain. I still see the message about cookieless domain in the &#8220;page speed&#8221; addon for mozzila.<br />
Weird since i dont set any cookies on my website? I do use a session.<br />
Commenting the session_start() in the beginning of my php script removes the &#8220;cookieless domain&#8221; warning. Un-commenting session_start() in my php script results in giving me the freakin warning again.<br />
Seems like a session is setting cookies too??? I dont get it.</p>
<p>Can anyone explain this to me? And what should i do to fix it?</p>
<p>Greetings,</p>
<p>Marc</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Most visited pages for July, 2010 on InfoTales &#124; InfoTales</title>
		<link>http://www.infotales.com/serving-images-from-cookie-less-domain/comment-page-1/#comment-1999</link>
		<dc:creator>Most visited pages for July, 2010 on InfoTales &#124; InfoTales</dc:creator>
		<pubDate>Wed, 18 Aug 2010 05:21:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.infotales.com/?p=401#comment-1999</guid>
		<description>[...] Serving images from cookie less domain [...]</description>
		<content:encoded><![CDATA[<p>[...] Serving images from cookie less domain [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shahpar</title>
		<link>http://www.infotales.com/serving-images-from-cookie-less-domain/comment-page-1/#comment-1406</link>
		<dc:creator>shahpar</dc:creator>
		<pubDate>Sat, 31 Jul 2010 04:46:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.infotales.com/?p=401#comment-1406</guid>
		<description>If you are using linux machine you can overcome this issue by using soft links. In this way you images will be available from both (main and subdomain) so you new images will be moved to subdomain and old files will still accessible. Another method will be to rewrite old urls to new domain through .htaccess.</description>
		<content:encoded><![CDATA[<p>If you are using linux machine you can overcome this issue by using soft links. In this way you images will be available from both (main and subdomain) so you new images will be moved to subdomain and old files will still accessible. Another method will be to rewrite old urls to new domain through .htaccess.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vbKid</title>
		<link>http://www.infotales.com/serving-images-from-cookie-less-domain/comment-page-1/#comment-1348</link>
		<dc:creator>vbKid</dc:creator>
		<pubDate>Thu, 29 Jul 2010 14:10:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.infotales.com/?p=401#comment-1348</guid>
		<description>Hi ! 

nice article and well explained .

I ran into lots of articles to serve static content from a cookieless domain , but this one seems to be the easiest for me to follow.


I am using vbulletin software  , although I do not know where to find this PHP function , but it should be there some where.


now I am facing two issues here   : 

the first one is that I have to move files physically to their proper subdomain folders right ?



the second one is , I am wondering  if I moved all images , css , java etc to a cookie-less sub domain , how do I overcome the issue of ( having posts around with the old images urls like ( www.mydomian.com/images/whatever.jpg ).

cause I don&#039;t allow my community to upload images on any other server.



Thank you again for sharing such useful article .</description>
		<content:encoded><![CDATA[<p>Hi ! </p>
<p>nice article and well explained .</p>
<p>I ran into lots of articles to serve static content from a cookieless domain , but this one seems to be the easiest for me to follow.</p>
<p>I am using vbulletin software  , although I do not know where to find this PHP function , but it should be there some where.</p>
<p>now I am facing two issues here   : </p>
<p>the first one is that I have to move files physically to their proper subdomain folders right ?</p>
<p>the second one is , I am wondering  if I moved all images , css , java etc to a cookie-less sub domain , how do I overcome the issue of ( having posts around with the old images urls like ( <a href="http://www.mydomian.com/images/whatever.jpg" rel="nofollow">http://www.mydomian.com/images/whatever.jpg</a> ).</p>
<p>cause I don&#8217;t allow my community to upload images on any other server.</p>
<p>Thank you again for sharing such useful article .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shahpar</title>
		<link>http://www.infotales.com/serving-images-from-cookie-less-domain/comment-page-1/#comment-1262</link>
		<dc:creator>shahpar</dc:creator>
		<pubDate>Mon, 26 Jul 2010 13:48:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.infotales.com/?p=401#comment-1262</guid>
		<description>Yes any domain can be used, as image domain does not matter much.</description>
		<content:encoded><![CDATA[<p>Yes any domain can be used, as image domain does not matter much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: buzzknow</title>
		<link>http://www.infotales.com/serving-images-from-cookie-less-domain/comment-page-1/#comment-1156</link>
		<dc:creator>buzzknow</dc:creator>
		<pubDate>Fri, 23 Jul 2010 11:56:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.infotales.com/?p=401#comment-1156</guid>
		<description>how if we use like co.cc as free domain as cookieless domain, can we?

thanks</description>
		<content:encoded><![CDATA[<p>how if we use like co.cc as free domain as cookieless domain, can we?</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shahpar</title>
		<link>http://www.infotales.com/serving-images-from-cookie-less-domain/comment-page-1/#comment-385</link>
		<dc:creator>shahpar</dc:creator>
		<pubDate>Mon, 21 Jun 2010 14:21:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.infotales.com/?p=401#comment-385</guid>
		<description>No, the code is just a sample. you need to find similar code/function in your site and make it use a specific domain, so other sub domains can become cookie less domains</description>
		<content:encoded><![CDATA[<p>No, the code is just a sample. you need to find similar code/function in your site and make it use a specific domain, so other sub domains can become cookie less domains</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Block Country IP</title>
		<link>http://www.infotales.com/serving-images-from-cookie-less-domain/comment-page-1/#comment-384</link>
		<dc:creator>Block Country IP</dc:creator>
		<pubDate>Mon, 21 Jun 2010 12:26:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.infotales.com/?p=401#comment-384</guid>
		<description>thank you, subscribed!</description>
		<content:encoded><![CDATA[<p>thank you, subscribed!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Udegbunam Chukwudi</title>
		<link>http://www.infotales.com/serving-images-from-cookie-less-domain/comment-page-1/#comment-379</link>
		<dc:creator>Udegbunam Chukwudi</dc:creator>
		<pubDate>Sun, 20 Jun 2010 23:05:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.infotales.com/?p=401#comment-379</guid>
		<description>Please where and how do i need to add the code in the post above? Is it function.php?</description>
		<content:encoded><![CDATA[<p>Please where and how do i need to add the code in the post above? Is it function.php?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
