<?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: Send &#8216;em back from whence they came</title>
	<atom:link href="http://www.neilcrookes.com/2009/01/29/send-em-back-from-whence-they-came/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.neilcrookes.com/2009/01/29/send-em-back-from-whence-they-came/</link>
	<description>Learnings and Teachings on Web Application Development &#38; CakePHP</description>
	<lastBuildDate>Fri, 03 Feb 2012 19:44:06 +0100</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: unclezoot</title>
		<link>http://www.neilcrookes.com/2009/01/29/send-em-back-from-whence-they-came/comment-page-1/#comment-5644</link>
		<dc:creator>unclezoot</dc:creator>
		<pubDate>Sat, 26 Sep 2009 23:12:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilcrookes.com/?p=139#comment-5644</guid>
		<description>Hi,


Thanks for making this, has really saved me some hours of my life.
One thing I have noticed is that you&#039;re not currently checking for &#039;bad requests&#039;, which means requests to missing images/controllers get put onto the stack.

One might consider doing something like this:

if ($this-&gt;Controller-&gt;name&#039;CakeError&#039;){ ....



Thanks again</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for making this, has really saved me some hours of my life.<br />
One thing I have noticed is that you&#8217;re not currently checking for &#8216;bad requests&#8217;, which means requests to missing images/controllers get put onto the stack.</p>
<p>One might consider doing something like this:</p>
<p>if ($this-&gt;Controller-&gt;name&#8217;CakeError&#8217;){ &#8230;.</p>
<p>Thanks again</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Petey</title>
		<link>http://www.neilcrookes.com/2009/01/29/send-em-back-from-whence-they-came/comment-page-1/#comment-4912</link>
		<dc:creator>Petey</dc:creator>
		<pubDate>Sun, 16 Aug 2009 01:11:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilcrookes.com/?p=139#comment-4912</guid>
		<description>Not to be a bore, but you don&#039;t say &quot;from whence they came&quot; - it&#039;s just &quot;whence they came.&quot;

&quot;Whence&quot; is not an antiquated form of &quot;where.&quot; It means &quot;from which&quot; or &quot;from what place.&quot; So &quot;from&quot; is already incorporated. Saying &quot;from whence&quot; is equivalent to saying &quot;from from which.&quot;

It&#039;s just &quot;whence.&quot;</description>
		<content:encoded><![CDATA[<p>Not to be a bore, but you don&#8217;t say &#8220;from whence they came&#8221; &#8211; it&#8217;s just &#8220;whence they came.&#8221;</p>
<p>&#8220;Whence&#8221; is not an antiquated form of &#8220;where.&#8221; It means &#8220;from which&#8221; or &#8220;from what place.&#8221; So &#8220;from&#8221; is already incorporated. Saying &#8220;from whence&#8221; is equivalent to saying &#8220;from from which.&#8221;</p>
<p>It&#8217;s just &#8220;whence.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dieter@be</title>
		<link>http://www.neilcrookes.com/2009/01/29/send-em-back-from-whence-they-came/comment-page-1/#comment-1122</link>
		<dc:creator>Dieter@be</dc:creator>
		<pubDate>Thu, 09 Apr 2009 08:42:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilcrookes.com/?p=139#comment-1122</guid>
		<description>Hey Neil,
great component!  Simple and does the job.

Too bad that if you have multiple tabs open (e.g. 2 non-admin tabs) in firefox they share the same session and hence the same stack.
A solution for that could be to use http://www.nektra.com/oss/firefox/extensions/cookiepie/</description>
		<content:encoded><![CDATA[<p>Hey Neil,<br />
great component!  Simple and does the job.</p>
<p>Too bad that if you have multiple tabs open (e.g. 2 non-admin tabs) in firefox they share the same session and hence the same stack.<br />
A solution for that could be to use <a href="http://www.nektra.com/oss/firefox/extensions/cookiepie/" rel="nofollow">http://www.nektra.com/oss/firefox/extensions/cookiepie/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick Guyer</title>
		<link>http://www.neilcrookes.com/2009/01/29/send-em-back-from-whence-they-came/comment-page-1/#comment-1073</link>
		<dc:creator>Rick Guyer</dc:creator>
		<pubDate>Wed, 08 Apr 2009 03:28:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilcrookes.com/?p=139#comment-1073</guid>
		<description>Thanks Neil for the work you&#039;ve done on this component. When I attempt to use your history component, $this-&gt;params[‘url’] in beforeRender() does not get populated. I can however get to the URL using $this-&gt;Controller-&gt;params[‘url’]. Am I missing something?</description>
		<content:encoded><![CDATA[<p>Thanks Neil for the work you&#8217;ve done on this component. When I attempt to use your history component, $this-&gt;params[‘url’] in beforeRender() does not get populated. I can however get to the URL using $this-&gt;Controller-&gt;params[‘url’]. Am I missing something?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil Crookes</title>
		<link>http://www.neilcrookes.com/2009/01/29/send-em-back-from-whence-they-came/comment-page-1/#comment-340</link>
		<dc:creator>Neil Crookes</dc:creator>
		<pubDate>Tue, 10 Feb 2009 20:39:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilcrookes.com/?p=139#comment-340</guid>
		<description>@Frankie, cheers for pointing that out, I&#039;ve updated the code on github.</description>
		<content:encoded><![CDATA[<p>@Frankie, cheers for pointing that out, I&#8217;ve updated the code on github.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frankie</title>
		<link>http://www.neilcrookes.com/2009/01/29/send-em-back-from-whence-they-came/comment-page-1/#comment-330</link>
		<dc:creator>Frankie</dc:creator>
		<pubDate>Mon, 09 Feb 2009 08:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilcrookes.com/?p=139#comment-330</guid>
		<description>Nice component. I&#039;ve found some problems using it when the app is running on a subdirectory. The $_SERVER[&#039;REQUEST_URI&#039;] prepends the subdirectory name so the resultant uri is wrong. For example:

If the subfolder name is example, the $uri variable populates with /example/controller/action, and the url returned by History-&gt;back() is something like /example/example/controller/action.

My solution is the following: change lines 133 to 135 with 

$uri = &#039;/&#039;.$this-&gt;Controller-&gt;params[&#039;url&#039;][&#039;url&#039;];</description>
		<content:encoded><![CDATA[<p>Nice component. I&#8217;ve found some problems using it when the app is running on a subdirectory. The $_SERVER['REQUEST_URI'] prepends the subdirectory name so the resultant uri is wrong. For example:</p>
<p>If the subfolder name is example, the $uri variable populates with /example/controller/action, and the url returned by History-&gt;back() is something like /example/example/controller/action.</p>
<p>My solution is the following: change lines 133 to 135 with </p>
<p>$uri = &#8216;/&#8217;.$this-&gt;Controller-&gt;params['url']['url'];</p>
]]></content:encoded>
	</item>
</channel>
</rss>

