<?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>Developing web and iphone applications for fun, profit or distraction</description>
	<lastBuildDate>Mon, 12 Apr 2010 00:35:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<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>
	<item>
		<title>By: victor</title>
		<link>http://www.designdisclosure.com/2009/11/symfony-doctrine-database-session-storage/#comment-1618</link>
		<dc:creator>victor</dc:creator>
		<pubDate>Wed, 17 Feb 2010 12:19:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.designdisclosure.com/?p=128#comment-1618</guid>
		<description>Hi,

You said that by storing sessions in a database you are able to retrieve logged in users. Could you please give an example of how to do this?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>You said that by storing sessions in a database you are able to retrieve logged in users. Could you please give an example of how to do this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alistair Stead</title>
		<link>http://www.designdisclosure.com/2009/11/symfony-doctrine-database-session-storage/#comment-1596</link>
		<dc:creator>Alistair Stead</dc:creator>
		<pubDate>Sat, 13 Feb 2010 10:07:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.designdisclosure.com/?p=128#comment-1596</guid>
		<description>Hi,

Symfony uses the standard PHP session handler. Due to how a session must be stored and retrieved between each HTTP request the data is stored in a serialized form. Unless you are storing large object structures in session this should not cause you any problems. I&#039;m unsure of your requirements to store data in columns?

I would suggest that you should possibly look at adding additional protected variables to the myUser class and then create getter and setter methods that will retrieve the data from session. You can then access the data through a common interface.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Symfony uses the standard PHP session handler. Due to how a session must be stored and retrieved between each HTTP request the data is stored in a serialized form. Unless you are storing large object structures in session this should not cause you any problems. I&#8217;m unsure of your requirements to store data in columns?</p>
<p>I would suggest that you should possibly look at adding additional protected variables to the myUser class and then create getter and setter methods that will retrieve the data from session. You can then access the data through a common interface.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Balazs.2.0</title>
		<link>http://www.designdisclosure.com/2009/11/symfony-doctrine-database-session-storage/#comment-1525</link>
		<dc:creator>Balazs.2.0</dc:creator>
		<pubDate>Tue, 26 Jan 2010 00:50:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.designdisclosure.com/?p=128#comment-1525</guid>
		<description>Hello,

What I&#039;m wondering about (and sorry of this is a newbie question) is that, symfony stores the session data in a serialized form. Can this be changed? More importantly, should this be changed? I usually see session data stored in columns seperately. Does this mean, that each time session data is requested, you have to de-serialize it? Does that effect performance?

Thanks</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>What I&#8217;m wondering about (and sorry of this is a newbie question) is that, symfony stores the session data in a serialized form. Can this be changed? More importantly, should this be changed? I usually see session data stored in columns seperately. Does this mean, that each time session data is requested, you have to de-serialize it? Does that effect performance?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://www.designdisclosure.com/2009/11/symfony-doctrine-database-session-storage/#comment-1506</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Wed, 20 Jan 2010 22:50:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.designdisclosure.com/?p=128#comment-1506</guid>
		<description>Excellent, thanks for this very straightforward explanation, plus comments from other commenters.</description>
		<content:encoded><![CDATA[<p>Excellent, thanks for this very straightforward explanation, plus comments from other commenters.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
