<?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: HTTP Only cookies without PHP 5.2</title>
	<atom:link href="http://blog.mattmecham.com/2006/09/12/http-only-cookies-without-php-52/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mattmecham.com/2006/09/12/http-only-cookies-without-php-52/</link>
	<description>A utopia of randomness from a bloke who develops internet software and is also a dad</description>
	<lastBuildDate>Thu, 26 Jan 2012 07:08:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Jen</title>
		<link>http://blog.mattmecham.com/2006/09/12/http-only-cookies-without-php-52/comment-page-1/#comment-14610</link>
		<dc:creator>Jen</dc:creator>
		<pubDate>Tue, 16 Aug 2011 18:57:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattmecham.com/blog1/2006/09/12/http-only-cookies-without-php-52/#comment-14610</guid>
		<description>In answer to my question above if it helps anyone for future, I was able to solve the issue with:

@setcookie( $name, $value, $expires, $path, $domain . &#039;secure; HttpOnly&#039; );</description>
		<content:encoded><![CDATA[<p>In answer to my question above if it helps anyone for future, I was able to solve the issue with:</p>
<p>@setcookie( $name, $value, $expires, $path, $domain . &#8216;secure; HttpOnly&#8217; );</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jen</title>
		<link>http://blog.mattmecham.com/2006/09/12/http-only-cookies-without-php-52/comment-page-1/#comment-14609</link>
		<dc:creator>Jen</dc:creator>
		<pubDate>Tue, 16 Aug 2011 15:17:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattmecham.com/blog1/2006/09/12/http-only-cookies-without-php-52/#comment-14609</guid>
		<description>Regarding your if version lower than 5.2 method ... 
have you found a way to set both the httpOnly and the secure flag? This code appears to be just what I&#039;ve been looking for and works great, however,  it seems i can only set httpOnly OR secure, not both using this method. I would prefer to set both and am running 5.1.6. 

Thanks in advance,
Jen</description>
		<content:encoded><![CDATA[<p>Regarding your if version lower than 5.2 method &#8230;<br />
have you found a way to set both the httpOnly and the secure flag? This code appears to be just what I&#8217;ve been looking for and works great, however,  it seems i can only set httpOnly OR secure, not both using this method. I would prefer to set both and am running 5.1.6. </p>
<p>Thanks in advance,<br />
Jen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jet</title>
		<link>http://blog.mattmecham.com/2006/09/12/http-only-cookies-without-php-52/comment-page-1/#comment-2336</link>
		<dc:creator>Jet</dc:creator>
		<pubDate>Sun, 29 Apr 2007 16:41:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattmecham.com/blog1/2006/09/12/http-only-cookies-without-php-52/#comment-2336</guid>
		<description>@Matt: thanks for the tips, I just applied your suggestion to my IPB&#039;s setcookie function, as it will take months to see PHP 5.2 coming.
</description>
		<content:encoded><![CDATA[<p>@Matt: thanks for the tips, I just applied your suggestion to my IPB&#8217;s setcookie function, as it will take months to see PHP 5.2 coming.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dgx</title>
		<link>http://blog.mattmecham.com/2006/09/12/http-only-cookies-without-php-52/comment-page-1/#comment-2335</link>
		<dc:creator>dgx</dc:creator>
		<pubDate>Wed, 06 Dec 2006 09:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattmecham.com/blog1/2006/09/12/http-only-cookies-without-php-52/#comment-2335</guid>
		<description>ups... my mistake. PHP_VERSION must be something like &#039;5.10.1&#039; to see difference.</description>
		<content:encoded><![CDATA[<p>ups&#8230; my mistake. PHP_VERSION must be something like &#8217;5.10.1&#8242; to see difference.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dgx</title>
		<link>http://blog.mattmecham.com/2006/09/12/http-only-cookies-without-php-52/comment-page-1/#comment-2334</link>
		<dc:creator>dgx</dc:creator>
		<pubDate>Wed, 06 Dec 2006 09:14:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattmecham.com/blog1/2006/09/12/http-only-cookies-without-php-52/#comment-2334</guid>
		<description>Matt, you should use version_compare(). When PHP_VERSION is &#039;5.2.1&#039;, the comparsion PHP_VERSION &lt; 5.2 returns FALSE.</description>
		<content:encoded><![CDATA[<p>Matt, you should use version_compare(). When PHP_VERSION is &#8217;5.2.1&#8242;, the comparsion PHP_VERSION &lt; 5.2 returns FALSE.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://blog.mattmecham.com/2006/09/12/http-only-cookies-without-php-52/comment-page-1/#comment-2333</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Thu, 14 Sep 2006 17:04:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattmecham.com/blog1/2006/09/12/http-only-cookies-without-php-52/#comment-2333</guid>
		<description>I&#039;ve updated my original blog post. I&#039;ve had a dig around in the PHP source.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve updated my original blog post. I&#8217;ve had a dig around in the PHP source.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://blog.mattmecham.com/2006/09/12/http-only-cookies-without-php-52/comment-page-1/#comment-2332</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Thu, 14 Sep 2006 16:53:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattmecham.com/blog1/2006/09/12/http-only-cookies-without-php-52/#comment-2332</guid>
		<description>This reminds me, it would be nice to be able to send custom fields to the setcookie() function like one can with mail() - it would future proof PHP against changes in cookie syntax.</description>
		<content:encoded><![CDATA[<p>This reminds me, it would be nice to be able to send custom fields to the setcookie() function like one can with mail() &#8211; it would future proof PHP against changes in cookie syntax.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://blog.mattmecham.com/2006/09/12/http-only-cookies-without-php-52/comment-page-1/#comment-2331</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Thu, 14 Sep 2006 16:51:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattmecham.com/blog1/2006/09/12/http-only-cookies-without-php-52/#comment-2331</guid>
		<description>I was surprised too. I can only assume they didn&#039;t consider they needed to clean the domain name as no valid domain name allows for a semi-colon.</description>
		<content:encoded><![CDATA[<p>I was surprised too. I can only assume they didn&#8217;t consider they needed to clean the domain name as no valid domain name allows for a semi-colon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kier Darby</title>
		<link>http://blog.mattmecham.com/2006/09/12/http-only-cookies-without-php-52/comment-page-1/#comment-2330</link>
		<dc:creator>Kier Darby</dc:creator>
		<pubDate>Thu, 14 Sep 2006 16:42:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattmecham.com/blog1/2006/09/12/http-only-cookies-without-php-52/#comment-2330</guid>
		<description>In the absense of PHP 5.2 and its native HttpOnly support, we are actually rolling our own cookies using header() calls, as you may have seen. Your hack of the setcookie() function is nice, I&#039;m surprised PHP doesn&#039;t clean for the semi-colon, but there we go.

I&#039;ll be interested to see how you&#039;ve tackled the Firefox issue.</description>
		<content:encoded><![CDATA[<p>In the absense of PHP 5.2 and its native HttpOnly support, we are actually rolling our own cookies using header() calls, as you may have seen. Your hack of the setcookie() function is nice, I&#8217;m surprised PHP doesn&#8217;t clean for the semi-colon, but there we go.</p>
<p>I&#8217;ll be interested to see how you&#8217;ve tackled the Firefox issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://blog.mattmecham.com/2006/09/12/http-only-cookies-without-php-52/comment-page-1/#comment-2329</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Thu, 14 Sep 2006 16:01:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattmecham.com/blog1/2006/09/12/http-only-cookies-without-php-52/#comment-2329</guid>
		<description>I know that it was Scott that wrote the little patch for PHP.

The great thing is that you don&#039;t need it -- or at very least, don&#039;t need to wait for  PHP 5.2 :D

I&#039;m going to post up my Firefox version later today that you may want to consider using too.</description>
		<content:encoded><![CDATA[<p>I know that it was Scott that wrote the little patch for PHP.</p>
<p>The great thing is that you don&#8217;t need it &#8212; or at very least, don&#8217;t need to wait for  PHP 5.2 <img src='http://blog.mattmecham.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>I&#8217;m going to post up my Firefox version later today that you may want to consider using too.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

