<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Top of Cool &#187; CakePHP</title>
	<atom:link href="http://topofcool.com/blog/tag/cakephp/feed/" rel="self" type="application/rss+xml" />
	<link>http://topofcool.com</link>
	<description>You are in a maze of twisty passages, all alike.</description>
	<lastBuildDate>Mon, 17 Mar 2025 18:01:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.38</generator>
	<item>
		<title>How to set the session path for CakePHP sessions</title>
		<link>http://topofcool.com/blog/2008/05/15/how-to-set-the-session-path-for-cakephp-sessions/</link>
		<comments>http://topofcool.com/blog/2008/05/15/how-to-set-the-session-path-for-cakephp-sessions/#comments</comments>
		<pubDate>Thu, 15 May 2008 17:10:15 +0000</pubDate>
		<dc:creator><![CDATA[Finster]]></dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[sessions]]></category>

		<guid isPermaLink="false">http://www.topofcool.com/?p=205</guid>
		<description><![CDATA[I had an issue where my CakePHP app (which was part of a larger webapp) was setting its own cookie_path for &#8216;/cakeapp&#8217;, which was the location of Cake. Meanwhile, the session for the general app, with cookie_path at &#8216;/&#8217; was also setting up its own session. So, I needed Cake to use &#8216;/&#8217; for its [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I had an issue where my CakePHP app (which was part of a larger webapp) was setting its own cookie_path for &#8216;/cakeapp&#8217;, which was the location of Cake. Meanwhile, the session for the general app, with cookie_path at &#8216;/&#8217; was also setting up its own session. So, I needed Cake to use &#8216;/&#8217; for its session.cookie_path instead of defaulting to the Cake app&#8217;s path.</p>
<p>The simplest way to do this for me was to set Session.start to false in core.php. Then, I added a $this-&gt;Session-&gt;activate(&#8216;/&#8217;); to my app_controller.php in a beforeFilter() function. Now, the Cake app is using &#8216;/&#8217; for it&#8217;s session.cookie_path.</p>
<p>h/t AD7six in #cakephp for showing me this.</p>
]]></content:encoded>
			<wfw:commentRss>http://topofcool.com/blog/2008/05/15/how-to-set-the-session-path-for-cakephp-sessions/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>MinneBar, HO!</title>
		<link>http://topofcool.com/blog/2008/05/06/minnebar-ho/</link>
		<comments>http://topofcool.com/blog/2008/05/06/minnebar-ho/#comments</comments>
		<pubDate>Tue, 06 May 2008 20:27:48 +0000</pubDate>
		<dc:creator><![CDATA[Finster]]></dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[barcamp]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[MinneBar]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.topofcool.com/?p=202</guid>
		<description><![CDATA[Just put my name down for MinneBar. Since, this is my first time attending MinneBar (or any barcamp, for that matter) I&#8217;ll be putting together a presentation on building a simple CMS for CakePHP. I&#8217;m kinda nervous, but it should be a lot of fun.]]></description>
				<content:encoded><![CDATA[<p>Just put my name down for <a href="http://barcamp.pbwiki.com/MinneBar" target="_blank">MinneBar</a>.</p>
<p>Since, this is my first time attending MinneBar (or any barcamp, for that matter) I&#8217;ll be putting together a presentation on building a simple CMS for CakePHP.</p>
<p>I&#8217;m kinda nervous, but it should be a lot of fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://topofcool.com/blog/2008/05/06/minnebar-ho/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
