<?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: PHP Sessions &#8211; Files vs Database Based</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2007/03/27/php-sessions-files-vs-database-based/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2007/03/27/php-sessions-files-vs-database-based/</link>
	<description>Percona&#039;s MySQL &#38; InnoDB performance and scalability blog</description>
	<lastBuildDate>Sat, 11 Feb 2012 16:45:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Seo Lahore</title>
		<link>http://www.mysqlperformanceblog.com/2007/03/27/php-sessions-files-vs-database-based/comment-page-1/#comment-797862</link>
		<dc:creator>Seo Lahore</dc:creator>
		<pubDate>Sat, 12 Feb 2011 16:38:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/03/27/php-sessions-files-vs-database-based/#comment-797862</guid>
		<description>Just installed unbuntu 9.04 on a Compaq Pressario C714NR notebook pc and have everything working. This is the first version of unbubtu that I have been able to figure out how to make everything work. Thanks for the list I have been wanting to try wine but never liked any version of linux enough to stick with it for more than a few weeks until now.</description>
		<content:encoded><![CDATA[<p>Just installed unbuntu 9.04 on a Compaq Pressario C714NR notebook pc and have everything working. This is the first version of unbubtu that I have been able to figure out how to make everything work. Thanks for the list I have been wanting to try wine but never liked any version of linux enough to stick with it for more than a few weeks until now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2007/03/27/php-sessions-files-vs-database-based/comment-page-1/#comment-774151</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Mon, 13 Sep 2010 16:04:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/03/27/php-sessions-files-vs-database-based/#comment-774151</guid>
		<description>Kosher,

This is MySQL function not PHP</description>
		<content:encoded><![CDATA[<p>Kosher,</p>
<p>This is MySQL function not PHP</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: koshker</title>
		<link>http://www.mysqlperformanceblog.com/2007/03/27/php-sessions-files-vs-database-based/comment-page-1/#comment-773977</link>
		<dc:creator>koshker</dc:creator>
		<pubDate>Sat, 11 Sep 2010 20:13:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/03/27/php-sessions-files-vs-database-based/#comment-773977</guid>
		<description>I cant find function GET_LOCK on php.net :(</description>
		<content:encoded><![CDATA[<p>I cant find function GET_LOCK on php.net <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Digital Lynx</title>
		<link>http://www.mysqlperformanceblog.com/2007/03/27/php-sessions-files-vs-database-based/comment-page-1/#comment-598844</link>
		<dc:creator>Digital Lynx</dc:creator>
		<pubDate>Sun, 28 Jun 2009 14:20:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/03/27/php-sessions-files-vs-database-based/#comment-598844</guid>
		<description>Hey, nice article.  I&#039;ve tried doing something similar in a project of mine using something called mSess from:

http://www.virtualthinking.com/loadhtml.php?where=scripts&amp;what=art_show.php&amp;db_target=00000000024

It doesn&#039;t implement a custom session handler, but it works in a similar manner, and has the added benefit of being able to work with traditional PHP sessions at the same time.  Fairly easy to use if you use the sample files as a reference.

It&#039;s a CC based license so it&#039;s flexible to incorporate.</description>
		<content:encoded><![CDATA[<p>Hey, nice article.  I&#8217;ve tried doing something similar in a project of mine using something called mSess from:</p>
<p><a href="http://www.virtualthinking.com/loadhtml.php?where=scripts&#038;what=art_show.php&#038;db_target=00000000024" rel="nofollow">http://www.virtualthinking.com/loadhtml.php?where=scripts&#038;what=art_show.php&#038;db_target=00000000024</a></p>
<p>It doesn&#8217;t implement a custom session handler, but it works in a similar manner, and has the added benefit of being able to work with traditional PHP sessions at the same time.  Fairly easy to use if you use the sample files as a reference.</p>
<p>It&#8217;s a CC based license so it&#8217;s flexible to incorporate.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PHP Sessions - Files vs Database Based &#124; MySQL Performance Blog</title>
		<link>http://www.mysqlperformanceblog.com/2007/03/27/php-sessions-files-vs-database-based/comment-page-1/#comment-576552</link>
		<dc:creator>PHP Sessions - Files vs Database Based &#124; MySQL Performance Blog</dc:creator>
		<pubDate>Sat, 06 Jun 2009 11:59:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/03/27/php-sessions-files-vs-database-based/#comment-576552</guid>
		<description>[...] PHP Sessions - Files vs Database Based &#124; MySQL Performance Blog   Share and [...]</description>
		<content:encoded><![CDATA[<p>[...] PHP Sessions &#8211; Files vs Database Based | MySQL Performance Blog   Share and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iko</title>
		<link>http://www.mysqlperformanceblog.com/2007/03/27/php-sessions-files-vs-database-based/comment-page-1/#comment-520891</link>
		<dc:creator>iko</dc:creator>
		<pubDate>Fri, 27 Mar 2009 12:42:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/03/27/php-sessions-files-vs-database-based/#comment-520891</guid>
		<description>Only consistent way how to count users online, if sessions are stored in memcached is
to have your own session handler and implement full database backup, so new sessions are also created in db as references and cleaned standard way if memcache session is destroyed in runtime or by garbage collector. Under these conditions you can use standard queries to retrieve number of users online and other usefull stats that are problematic to get from MC.
You can also create file based backup with simple counter (tried it myself and works), depends what level of flexibility and possible statistics you want to have.

Another approach is to create backend collector that fetches content of MC server and stores results in MC object. This is however against MC nature, so i would stick with DB or file backup.</description>
		<content:encoded><![CDATA[<p>Only consistent way how to count users online, if sessions are stored in memcached is<br />
to have your own session handler and implement full database backup, so new sessions are also created in db as references and cleaned standard way if memcache session is destroyed in runtime or by garbage collector. Under these conditions you can use standard queries to retrieve number of users online and other usefull stats that are problematic to get from MC.<br />
You can also create file based backup with simple counter (tried it myself and works), depends what level of flexibility and possible statistics you want to have.</p>
<p>Another approach is to create backend collector that fetches content of MC server and stores results in MC object. This is however against MC nature, so i would stick with DB or file backup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: myth-genius</title>
		<link>http://www.mysqlperformanceblog.com/2007/03/27/php-sessions-files-vs-database-based/comment-page-1/#comment-438531</link>
		<dc:creator>myth-genius</dc:creator>
		<pubDate>Thu, 08 Jan 2009 08:19:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/03/27/php-sessions-files-vs-database-based/#comment-438531</guid>
		<description>session store memcache is a problem :count sessions ?????how to?????</description>
		<content:encoded><![CDATA[<p>session store memcache is a problem :count sessions ?????how to?????</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Worse than DDOS &#124; MySQL Performance Blog</title>
		<link>http://www.mysqlperformanceblog.com/2007/03/27/php-sessions-files-vs-database-based/comment-page-1/#comment-346347</link>
		<dc:creator>Worse than DDOS &#124; MySQL Performance Blog</dc:creator>
		<pubDate>Tue, 19 Aug 2008 06:55:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/03/27/php-sessions-files-vs-database-based/#comment-346347</guid>
		<description>[...] of PHP sessions &#8220;files&#8221; handler  I already wrote about this topic, but when troubleshooting this all takes another angle. Default file handler means [...]</description>
		<content:encoded><![CDATA[<p>[...] of PHP sessions &#8220;files&#8221; handler  I already wrote about this topic, but when troubleshooting this all takes another angle. Default file handler means [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pramod Mane</title>
		<link>http://www.mysqlperformanceblog.com/2007/03/27/php-sessions-files-vs-database-based/comment-page-1/#comment-330235</link>
		<dc:creator>Pramod Mane</dc:creator>
		<pubDate>Thu, 17 Jul 2008 16:18:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/03/27/php-sessions-files-vs-database-based/#comment-330235</guid>
		<description>Hi,

This is what i was looking for my new site. 

Simple setting in php.ini file</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>This is what i was looking for my new site. </p>
<p>Simple setting in php.ini file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pramod</title>
		<link>http://www.mysqlperformanceblog.com/2007/03/27/php-sessions-files-vs-database-based/comment-page-1/#comment-330230</link>
		<dc:creator>Pramod</dc:creator>
		<pubDate>Thu, 17 Jul 2008 16:13:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/03/27/php-sessions-files-vs-database-based/#comment-330230</guid>
		<description>Hi, 

Looks like a great article as i want hunting for sharing the same sessions over subdomains.

(Pramod Mane)</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>Looks like a great article as i want hunting for sharing the same sessions over subdomains.</p>
<p>(Pramod Mane)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

