<?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: CakePHP Losing or Missing Session?</title> <atom:link href="http://derickng.com/posts/36-cakephp-losing-or-missing-session/feed" rel="self" type="application/rss+xml" /><link>http://derickng.com/posts/36-cakephp-losing-or-missing-session</link> <description>A blog on web development technicalities by Derick Ng</description> <lastBuildDate>Tue, 25 May 2010 06:40:34 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: Forcing SSL with CakePHP &#8211; JasonMiyashiro.com</title><link>http://derickng.com/posts/36-cakephp-losing-or-missing-session#comment-162</link> <dc:creator>Forcing SSL with CakePHP &#8211; JasonMiyashiro.com</dc:creator> <pubDate>Tue, 25 May 2010 06:40:34 +0000</pubDate> <guid
isPermaLink="false">http://derick.lyniq.com/?p=36#comment-162</guid> <description>[...] This can cause problems when using Flash and Ajax. This link helped me a lot: http://derickng.com/posts/36-cakephp-losing-or-missing-session [...]</description> <content:encoded><![CDATA[<p>[...] This can cause problems when using Flash and Ajax. This link helped me a lot: <a
href="http://derickng.com/posts/36-cakephp-losing-or-missing-session" rel="nofollow">http://derickng.com/posts/36-cakephp-losing-or-missing-session</a> [...]</p> ]]></content:encoded> </item> <item><title>By: Derick Ng</title><link>http://derickng.com/posts/36-cakephp-losing-or-missing-session#comment-149</link> <dc:creator>Derick Ng</dc:creator> <pubDate>Sat, 21 Nov 2009 09:09:25 +0000</pubDate> <guid
isPermaLink="false">http://derick.lyniq.com/?p=36#comment-149</guid> <description>Sorry for the late reply. And from the thread you linked to, I suppose everything is working fine now. Cheers. ;)</description> <content:encoded><![CDATA[<p>Sorry for the late reply. And from the thread you linked to, I suppose everything is working fine now. Cheers. <img
src='http://derickng.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: Octavian</title><link>http://derickng.com/posts/36-cakephp-losing-or-missing-session#comment-148</link> <dc:creator>Octavian</dc:creator> <pubDate>Tue, 17 Nov 2009 21:50:34 +0000</pubDate> <guid
isPermaLink="false">http://derick.lyniq.com/?p=36#comment-148</guid> <description>Hi Derick,You reference Aurigma&#039;s image uploader in your post, did you try to integrate it in one of your apps? I&#039;m trying to implement it but I wasn&#039;t able yet and I don&#039;t know what I&#039;m doing wrong: http://groups.google.com/group/cake-php/browse_thread/thread/b6b5cf5b91297448#Could you help me a bit? I&#039;m sure it can&#039;t be that difficult, I&#039;m obviously overlooking something, beeing a noob.I would appreciate your help very much!</description> <content:encoded><![CDATA[<p>Hi Derick,</p><p>You reference Aurigma&#8217;s image uploader in your post, did you try to integrate it in one of your apps? I&#8217;m trying to implement it but I wasn&#8217;t able yet and I don&#8217;t know what I&#8217;m doing wrong: <a
href="http://groups.google.com/group/cake-php/browse_thread/thread/b6b5cf5b91297448#" rel="nofollow">http://groups.google.com/group/cake-php/browse_thread/thread/b6b5cf5b91297448#</a></p><p>Could you help me a bit? I&#8217;m sure it can&#8217;t be that difficult, I&#8217;m obviously overlooking something, beeing a noob.</p><p>I would appreciate your help very much!</p> ]]></content:encoded> </item> <item><title>By: Derick Ng</title><link>http://derickng.com/posts/36-cakephp-losing-or-missing-session#comment-146</link> <dc:creator>Derick Ng</dc:creator> <pubDate>Thu, 20 Aug 2009 01:51:09 +0000</pubDate> <guid
isPermaLink="false">http://derick.lyniq.com/?p=36#comment-146</guid> <description>If you store sensitive information on your website, I suggest using high instead. The &quot;low&quot; setting has implications definitely though I believe most websites run that way.So with the session ID regenerated, you will actually have to find workarounds for the problems with Ajax calls. E.g. you may want to make the Ajax call pass the new session ID via the response and modify the cookie on the client&#039;s computer so the next call can have the write session ID read by the server. That said, I have not try this before and am not sure if it can work. :)</description> <content:encoded><![CDATA[<p>If you store sensitive information on your website, I suggest using high instead. The &#8220;low&#8221; setting has implications definitely though I believe most websites run that way.</p><p>So with the session ID regenerated, you will actually have to find workarounds for the problems with Ajax calls. E.g. you may want to make the Ajax call pass the new session ID via the response and modify the cookie on the client&#8217;s computer so the next call can have the write session ID read by the server. That said, I have not try this before and am not sure if it can work. <img
src='http://derickng.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: Jorge</title><link>http://derickng.com/posts/36-cakephp-losing-or-missing-session#comment-145</link> <dc:creator>Jorge</dc:creator> <pubDate>Tue, 18 Aug 2009 09:23:57 +0000</pubDate> <guid
isPermaLink="false">http://derick.lyniq.com/?p=36#comment-145</guid> <description>Thank you !We had the same problem. A very weird different behaviour when accessing the site clicking on a link and putting the site&#039;s address directly on the browser bar.The session was lost in cakephp 1.2 alphaI have one question:Do the &#039;security low&#039; has impact in the security of our site ?Maybe this could be a silly answer, but I don&#039;t know if other users could access switched sessions, or the sessions will be corrupted or the site will be hacker friendly with security low setting.Can you help me for the peace of my dreams ?</description> <content:encoded><![CDATA[<p>Thank you !</p><p>We had the same problem. A very weird different behaviour when accessing the site clicking on a link and putting the site&#8217;s address directly on the browser bar.</p><p>The session was lost in cakephp 1.2 alpha</p><p>I have one question:</p><p>Do the &#8217;security low&#8217; has impact in the security of our site ?</p><p>Maybe this could be a silly answer, but I don&#8217;t know if other users could access switched sessions, or the sessions will be corrupted or the site will be hacker friendly with security low setting.</p><p>Can you help me for the peace of my dreams ?</p> ]]></content:encoded> </item> <item><title>By: Derick Ng</title><link>http://derickng.com/posts/36-cakephp-losing-or-missing-session#comment-143</link> <dc:creator>Derick Ng</dc:creator> <pubDate>Tue, 11 Aug 2009 01:08:56 +0000</pubDate> <guid
isPermaLink="false">http://derick.lyniq.com/?p=36#comment-143</guid> <description>Glad this old piece of information still works. :)Cheers.</description> <content:encoded><![CDATA[<p>Glad this old piece of information still works. <img
src='http://derickng.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>Cheers.</p> ]]></content:encoded> </item> <item><title>By: Nick</title><link>http://derickng.com/posts/36-cakephp-losing-or-missing-session#comment-142</link> <dc:creator>Nick</dc:creator> <pubDate>Mon, 10 Aug 2009 20:24:56 +0000</pubDate> <guid
isPermaLink="false">http://derick.lyniq.com/?p=36#comment-142</guid> <description>Great! - You&#039;re a life saver.  I burned about 10 hours trying to figure out what was causing my redirects to fail.  Your info above solved it in 15 seconds!</description> <content:encoded><![CDATA[<p>Great! &#8211; You&#8217;re a life saver.  I burned about 10 hours trying to figure out what was causing my redirects to fail.  Your info above solved it in 15 seconds!</p> ]]></content:encoded> </item> <item><title>By: Dav</title><link>http://derickng.com/posts/36-cakephp-losing-or-missing-session#comment-102</link> <dc:creator>Dav</dc:creator> <pubDate>Tue, 23 Jun 2009 16:24:32 +0000</pubDate> <guid
isPermaLink="false">http://derick.lyniq.com/?p=36#comment-102</guid> <description>Fantastic - you have solved my problem. These two settings caused me a day of pain as I kept getting kicked out of my session for the exact reason you mention (jQuery ajax request not sending correct session id)</description> <content:encoded><![CDATA[<p>Fantastic &#8211; you have solved my problem. These two settings caused me a day of pain as I kept getting kicked out of my session for the exact reason you mention (jQuery ajax request not sending correct session id)</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 2/9 queries in 0.003 seconds using disk

Served from: derickng.com @ 2010-09-05 06:06:52 -->