<?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: symfony Doctrine database session storage</title> <atom:link href="http://www.designdisclosure.com/2009/11/symfony-doctrine-database-session-storage/feed/" rel="self" type="application/rss+xml" /><link>http://www.designdisclosure.com/2009/11/symfony-doctrine-database-session-storage/</link> <description>Software Engineer developing PHP applications for fun, profit and distraction. Magento, Zend Framework and Symfony</description> <lastBuildDate>Thu, 03 Nov 2011 09:42:16 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.2.1</generator> <item><title>By: Rafael</title><link>http://www.designdisclosure.com/2009/11/symfony-doctrine-database-session-storage/#comment-5086</link> <dc:creator>Rafael</dc:creator> <pubDate>Tue, 21 Jun 2011 11:47:15 +0000</pubDate> <guid
isPermaLink="false">http://www.designdisclosure.com/?p=128#comment-5086</guid> <description>@SergeyYou have to remove the string &quot;symfony/user/sfUser/configurations&#124;&quot; from the beginning of your session_data.Do something like this:$session_data = str_replace(&quot;symfony/user/sfUser/configurations&#124;&quot;, &quot;&quot;, $session_data);
unserialize($session_data);</description> <content:encoded><![CDATA[<p>@Sergey</p><p>You have to remove the string &#8220;symfony/user/sfUser/configurations|&#8221; from the beginning of your session_data.</p><p>Do something like this:</p><p>$session_data = str_replace(&#8220;symfony/user/sfUser/configurations|&#8221;, &#8220;&#8221;, $session_data);<br
/> unserialize($session_data);</p> ]]></content:encoded> </item> <item><title>By: Sergey</title><link>http://www.designdisclosure.com/2009/11/symfony-doctrine-database-session-storage/#comment-3016</link> <dc:creator>Sergey</dc:creator> <pubDate>Fri, 18 Feb 2011 12:23:24 +0000</pubDate> <guid
isPermaLink="false">http://www.designdisclosure.com/?p=128#comment-3016</guid> <description>Hi! Can you help me? I&#039;m need to get some data from user session by another user. Another user is FMS, which know session_id of user and which need to know some information stored in session of this user, how can i get it? session_data is serialized by symfony in database, so i cat get this data by query to db, but simple php function unserialize() doesn&#039;t work...</description> <content:encoded><![CDATA[<p>Hi! Can you help me? I&#8217;m need to get some data from user session by another user. Another user is FMS, which know session_id of user and which need to know some information stored in session of this user, how can i get it? session_data is serialized by symfony in database, so i cat get this data by query to db, but simple php function unserialize() doesn&#8217;t work&#8230;</p> ]]></content:encoded> </item> <item><title>By: Alistair Stead</title><link>http://www.designdisclosure.com/2009/11/symfony-doctrine-database-session-storage/#comment-2072</link> <dc:creator>Alistair Stead</dc:creator> <pubDate>Fri, 24 Sep 2010 07:53:40 +0000</pubDate> <guid
isPermaLink="false">http://www.designdisclosure.com/?p=128#comment-2072</guid> <description>Hi,Your sessions stores in the database would still be cleaned by the default php session handler. If you wish to implement persistent sessions you can look at the sfGuard plugin for the remember me keys. This uses a persistent browser cookie that includes a hash to re-authenticate the user when they return to the site.A word of warning however persistent sessions compromise security of your application. People can gain access to your application without the need for a password if the cookie exists on a machine. SO don&#039;t use this on public computers.-A</description> <content:encoded><![CDATA[<p>Hi,</p><p>Your sessions stores in the database would still be cleaned by the default php session handler. If you wish to implement persistent sessions you can look at the sfGuard plugin for the remember me keys. This uses a persistent browser cookie that includes a hash to re-authenticate the user when they return to the site.</p><p>A word of warning however persistent sessions compromise security of your application. People can gain access to your application without the need for a password if the cookie exists on a machine. SO don&#8217;t use this on public computers.</p><p>-A</p> ]]></content:encoded> </item> <item><title>By: Jestep</title><link>http://www.designdisclosure.com/2009/11/symfony-doctrine-database-session-storage/#comment-2071</link> <dc:creator>Jestep</dc:creator> <pubDate>Thu, 23 Sep 2010 14:28:09 +0000</pubDate> <guid
isPermaLink="false">http://www.designdisclosure.com/?p=128#comment-2071</guid> <description>Has anyone implemented session persistence while using a database storage mechanism? I&#039;ve been trying to implement persistent sessions while using a Propel storage for the session data. Doing it without getting overly complicated is becoming more difficult that I originally thought.</description> <content:encoded><![CDATA[<p>Has anyone implemented session persistence while using a database storage mechanism? I&#8217;ve been trying to implement persistent sessions while using a Propel storage for the session data. Doing it without getting overly complicated is becoming more difficult that I originally thought.</p> ]]></content:encoded> </item> <item><title>By: Merci Symfony &#171; Tout sur Rien</title><link>http://www.designdisclosure.com/2009/11/symfony-doctrine-database-session-storage/#comment-1754</link> <dc:creator>Merci Symfony &#171; Tout sur Rien</dc:creator> <pubDate>Mon, 12 Apr 2010 00:35:06 +0000</pubDate> <guid
isPermaLink="false">http://www.designdisclosure.com/?p=128#comment-1754</guid> <description>[...] Alistair Stead pour son article &#171; symfony Doctrine database session storage&#171;  [...]</description> <content:encoded><![CDATA[<p>[...] Alistair Stead pour son article &laquo; symfony Doctrine database session storage&laquo;  [...]</p> ]]></content:encoded> </item> <item><title>By: Alistair Stead</title><link>http://www.designdisclosure.com/2009/11/symfony-doctrine-database-session-storage/#comment-1731</link> <dc:creator>Alistair Stead</dc:creator> <pubDate>Tue, 06 Apr 2010 20:21:55 +0000</pubDate> <guid
isPermaLink="false">http://www.designdisclosure.com/?p=128#comment-1731</guid> <description>Depending upon you ini config the sessions should be removed automatically. </description> <content:encoded><![CDATA[<p>Depending upon you ini config the sessions should be removed automatically.</p> ]]></content:encoded> </item> <item><title>By: Saad</title><link>http://www.designdisclosure.com/2009/11/symfony-doctrine-database-session-storage/#comment-1710</link> <dc:creator>Saad</dc:creator> <pubDate>Tue, 30 Mar 2010 19:10:57 +0000</pubDate> <guid
isPermaLink="false">http://www.designdisclosure.com/?p=128#comment-1710</guid> <description>Hi,
Great post! I just used it because the prod servers we had to use were load-balanced and we were not able to install memcache.
The only concern I have: how to clear timed-out sessions? We created a (really simple) symfony task for that, because we weren&#039;t sure if there is some &quot;symfony magic&quot; that automatically clears sessions. I haven&#039;t find any. If you don&#039;t clear expired sessions, I think the DB table will grow infinitely, right?</description> <content:encoded><![CDATA[<p>Hi,<br
/> Great post! I just used it because the prod servers we had to use were load-balanced and we were not able to install memcache.<br
/> The only concern I have: how to clear timed-out sessions? We created a (really simple) symfony task for that, because we weren&#8217;t sure if there is some &#8220;symfony magic&#8221; that automatically clears sessions. I haven&#8217;t find any. If you don&#8217;t clear expired sessions, I think the DB table will grow infinitely, right?</p> ]]></content:encoded> </item> <item><title>By: tmv</title><link>http://www.designdisclosure.com/2009/11/symfony-doctrine-database-session-storage/#comment-1690</link> <dc:creator>tmv</dc:creator> <pubDate>Tue, 23 Mar 2010 13:10:01 +0000</pubDate> <guid
isPermaLink="false">http://www.designdisclosure.com/?p=128#comment-1690</guid> <description>to define id column can be use param fixed:true then id field will be fixed size char(32) not varchar(32) and performance should be better.id: { type: string(32), primary: true, notnull: true, fixed:true }Thanks for this great tutorial!</description> <content:encoded><![CDATA[<p>to define id column can be use param fixed:true then id field will be fixed size char(32) not varchar(32) and performance should be better.</p><p>id: { type: string(32), primary: true, notnull: true, fixed:true }</p><p>Thanks for this great tutorial!</p> ]]></content:encoded> </item> <item><title>By: victor</title><link>http://www.designdisclosure.com/2009/11/symfony-doctrine-database-session-storage/#comment-1631</link> <dc:creator>victor</dc:creator> <pubDate>Sat, 20 Feb 2010 21:13:08 +0000</pubDate> <guid
isPermaLink="false">http://www.designdisclosure.com/?p=128#comment-1631</guid> <description>Yes, I know that. But I refer to specific users, not at the number of logged in users.</description> <content:encoded><![CDATA[<p>Yes, I know that. But I refer to specific users, not at the number of logged in users.</p> ]]></content:encoded> </item> <item><title>By: Alistair Stead</title><link>http://www.designdisclosure.com/2009/11/symfony-doctrine-database-session-storage/#comment-1629</link> <dc:creator>Alistair Stead</dc:creator> <pubDate>Sat, 20 Feb 2010 07:00:25 +0000</pubDate> <guid
isPermaLink="false">http://www.designdisclosure.com/?p=128#comment-1629</guid> <description>Hi,You can simple make a select on the session tabe and count the results. If everything is setup correctly the data rows are deleted after a user leaves the site. </description> <content:encoded><![CDATA[<p>Hi,</p><p>You can simple make a select on the session tabe and count the results. If everything is setup correctly the data rows are deleted after a user leaves the site.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using memcached
Page Caching using memcached
Database Caching 1/9 queries in 0.004 seconds using memcached
Object Caching 529/546 objects using apc
Content Delivery Network via Amazon Web Services: S3: designdisclosure.s3.amazonaws.com

Served from: www.designdisclosure.com @ 2012-02-06 05:30:05 -->
