<?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: Trailing Whitespace Causes a Session to be Destroyed in CakePHP</title>
	<atom:link href="http://www.guyrutenberg.com/2008/03/08/trailing-whitespace-causes-a-session-to-be-destroyed-in-cakephp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.guyrutenberg.com/2008/03/08/trailing-whitespace-causes-a-session-to-be-destroyed-in-cakephp/</link>
	<description>Keeping track of what I do</description>
	<lastBuildDate>Tue, 09 Mar 2010 19:04:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Chunara</title>
		<link>http://www.guyrutenberg.com/2008/03/08/trailing-whitespace-causes-a-session-to-be-destroyed-in-cakephp/comment-page-1/#comment-19748</link>
		<dc:creator>Chunara</dc:creator>
		<pubDate>Wed, 06 May 2009 06:06:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/2008/03/08/trailing-whitespace-causes-a-session-to-be-destroyed-in-cakephp/#comment-19748</guid>
		<description>I have solved that problem in my project by only writing

$this-&gt;Session-&gt;start();

Before the read the session value for authentication. I suggest you also that u also try it.</description>
		<content:encoded><![CDATA[<p>I have solved that problem in my project by only writing</p>
<p>$this-&gt;Session-&gt;start();</p>
<p>Before the read the session value for authentication. I suggest you also that u also try it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Banks</title>
		<link>http://www.guyrutenberg.com/2008/03/08/trailing-whitespace-causes-a-session-to-be-destroyed-in-cakephp/comment-page-1/#comment-6181</link>
		<dc:creator>Tim Banks</dc:creator>
		<pubDate>Wed, 17 Dec 2008 02:58:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/2008/03/08/trailing-whitespace-causes-a-session-to-be-destroyed-in-cakephp/#comment-6181</guid>
		<description>Thank you so much.  I was banging my head on this for so long and couldn&#039;t find an answer.  I appreciate it.</description>
		<content:encoded><![CDATA[<p>Thank you so much.  I was banging my head on this for so long and couldn&#8217;t find an answer.  I appreciate it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kai</title>
		<link>http://www.guyrutenberg.com/2008/03/08/trailing-whitespace-causes-a-session-to-be-destroyed-in-cakephp/comment-page-1/#comment-6149</link>
		<dc:creator>Kai</dc:creator>
		<pubDate>Mon, 15 Dec 2008 08:25:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/2008/03/08/trailing-whitespace-causes-a-session-to-be-destroyed-in-cakephp/#comment-6149</guid>
		<description>Hey, thanks for taking the time to write about this problem. This would have driven me crazy for quite some time.</description>
		<content:encoded><![CDATA[<p>Hey, thanks for taking the time to write about this problem. This would have driven me crazy for quite some time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Omi: Dynamic Interactions Manager &#124; CakePHP: Check your trailing whitespace</title>
		<link>http://www.guyrutenberg.com/2008/03/08/trailing-whitespace-causes-a-session-to-be-destroyed-in-cakephp/comment-page-1/#comment-4311</link>
		<dc:creator>Omi: Dynamic Interactions Manager &#124; CakePHP: Check your trailing whitespace</dc:creator>
		<pubDate>Thu, 26 Jun 2008 12:43:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/2008/03/08/trailing-whitespace-causes-a-session-to-be-destroyed-in-cakephp/#comment-4311</guid>
		<description>[...] bit of Google turned me to this page, so it was just trailing [...]</description>
		<content:encoded><![CDATA[<p>[...] bit of Google turned me to this page, so it was just trailing [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guy</title>
		<link>http://www.guyrutenberg.com/2008/03/08/trailing-whitespace-causes-a-session-to-be-destroyed-in-cakephp/comment-page-1/#comment-4310</link>
		<dc:creator>Guy</dc:creator>
		<pubDate>Thu, 26 Jun 2008 11:33:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/2008/03/08/trailing-whitespace-causes-a-session-to-be-destroyed-in-cakephp/#comment-4310</guid>
		<description>Hi Omi,
IIRC I&#039;ve used CakePHP 1.2. There is no need to file a bug, because it&#039;s not a CakePHP bug. It is a result of the fact that php prints out everything that isn&#039;t surrounded by the &lt;php&gt; tags and it must send headers before he does so, and a PHP session can&#039;t be created once the headers were sent. This is just one design flaw that we&#039;ll have to live with.</description>
		<content:encoded><![CDATA[<p>Hi Omi,<br />
IIRC I&#8217;ve used CakePHP 1.2. There is no need to file a bug, because it&#8217;s not a CakePHP bug. It is a result of the fact that php prints out everything that isn&#8217;t surrounded by the
<php> tags and it must send headers before he does so, and a PHP session can&#8217;t be created once the headers were sent. This is just one design flaw that we&#8217;ll have to live with.</php>
]]></content:encoded>
	</item>
	<item>
		<title>By: Omi Chowdhury</title>
		<link>http://www.guyrutenberg.com/2008/03/08/trailing-whitespace-causes-a-session-to-be-destroyed-in-cakephp/comment-page-1/#comment-4309</link>
		<dc:creator>Omi Chowdhury</dc:creator>
		<pubDate>Thu, 26 Jun 2008 11:23:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/2008/03/08/trailing-whitespace-causes-a-session-to-be-destroyed-in-cakephp/#comment-4309</guid>
		<description>Thanks a lot for this post, I had the exact same problem.

Maybe you should look into filing a bug?
Maybe it&#039;s not a problem in 1.2, I&#039;ll look into it.</description>
		<content:encoded><![CDATA[<p>Thanks a lot for this post, I had the exact same problem.</p>
<p>Maybe you should look into filing a bug?<br />
Maybe it&#8217;s not a problem in 1.2, I&#8217;ll look into it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

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