<?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: Custom PHP Session Class</title>
	<atom:link href="http://stephenmcintyre.net/blog/custom-php-session-class/feed/" rel="self" type="application/rss+xml" />
	<link>http://stephenmcintyre.net/blog/custom-php-session-class/</link>
	<description>Young Scottish Web Designer</description>
	<lastBuildDate>Sat, 18 Feb 2012 07:25:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jonny</title>
		<link>http://stephenmcintyre.net/blog/custom-php-session-class/comment-page-1/#comment-21404</link>
		<dc:creator>Jonny</dc:creator>
		<pubDate>Tue, 14 Feb 2012 10:35:40 +0000</pubDate>
		<guid isPermaLink="false">http://stephenmcintyre.net/?p=378#comment-21404</guid>
		<description>Hi Stephen,

Any idea if the post on Richard Willars site can be found else where? It seems to have been removed.

Thanks,
Jonny</description>
		<content:encoded><![CDATA[<p>Hi Stephen,</p>
<p>Any idea if the post on Richard Willars site can be found else where? It seems to have been removed.</p>
<p>Thanks,<br />
Jonny</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Siggy</title>
		<link>http://stephenmcintyre.net/blog/custom-php-session-class/comment-page-1/#comment-18605</link>
		<dc:creator>Siggy</dc:creator>
		<pubDate>Tue, 03 Jan 2012 11:01:20 +0000</pubDate>
		<guid isPermaLink="false">http://stephenmcintyre.net/?p=378#comment-18605</guid>
		<description>Hi,

i have the same problem and in my case, the data field is being cleared as soon as :

$session = new Session();

is called. For the rest, everything is exactly as above.

Is there any server setting that has to change? I&#039;m pretty much pulling my hair out.

Thanks for any help.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>i have the same problem and in my case, the data field is being cleared as soon as :</p>
<p>$session = new Session();</p>
<p>is called. For the rest, everything is exactly as above.</p>
<p>Is there any server setting that has to change? I&#8217;m pretty much pulling my hair out.</p>
<p>Thanks for any help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chuck</title>
		<link>http://stephenmcintyre.net/blog/custom-php-session-class/comment-page-1/#comment-17495</link>
		<dc:creator>Chuck</dc:creator>
		<pubDate>Thu, 22 Dec 2011 04:34:24 +0000</pubDate>
		<guid isPermaLink="false">http://stephenmcintyre.net/?p=378#comment-17495</guid>
		<description>Hello there, I am trying out your script and it works fine except when I look on my server for the actual session file it&#039;s no where to be found. 

Without using your class running a basic php session will create the session file as expected. 

Is this class disabling a physical file on the server ?</description>
		<content:encoded><![CDATA[<p>Hello there, I am trying out your script and it works fine except when I look on my server for the actual session file it&#8217;s no where to be found. </p>
<p>Without using your class running a basic php session will create the session file as expected. </p>
<p>Is this class disabling a physical file on the server ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen McIntyre</title>
		<link>http://stephenmcintyre.net/blog/custom-php-session-class/comment-page-1/#comment-15192</link>
		<dc:creator>Stephen McIntyre</dc:creator>
		<pubDate>Thu, 24 Nov 2011 19:03:30 +0000</pubDate>
		<guid isPermaLink="false">http://stephenmcintyre.net/?p=378#comment-15192</guid>
		<description>It was a placeholder for the session ID should you want to add a function to fetch it outside of the class.

It is however currently redundant, so I&#039;ve removed it from the class. Thanks.</description>
		<content:encoded><![CDATA[<p>It was a placeholder for the session ID should you want to add a function to fetch it outside of the class.</p>
<p>It is however currently redundant, so I&#8217;ve removed it from the class. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen McIntyre</title>
		<link>http://stephenmcintyre.net/blog/custom-php-session-class/comment-page-1/#comment-15191</link>
		<dc:creator>Stephen McIntyre</dc:creator>
		<pubDate>Thu, 24 Nov 2011 18:55:16 +0000</pubDate>
		<guid isPermaLink="false">http://stephenmcintyre.net/?p=378#comment-15191</guid>
		<description>The original post from Richard did this well. &lt;a href=&quot;http://www.richardwillars.com/articles/php/storing-sessions-in-the-database/&quot; rel=&quot;nofollow&quot;&gt;http://www.richardwillars.com/articles/php/storing-sessions-in-the-database/&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>The original post from Richard did this well. <a href="http://www.richardwillars.com/articles/php/storing-sessions-in-the-database/" rel="nofollow">http://www.richardwillars.com/articles/php/storing-sessions-in-the-database/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gersom</title>
		<link>http://stephenmcintyre.net/blog/custom-php-session-class/comment-page-1/#comment-11451</link>
		<dc:creator>gersom</dc:creator>
		<pubDate>Wed, 21 Sep 2011 17:39:45 +0000</pubDate>
		<guid isPermaLink="false">http://stephenmcintyre.net/?p=378#comment-11451</guid>
		<description>I would like to you this, but I am curently using MySQL instead of MySQLi. I also use a database handler class. Is it wise to rewrite your class for this purpuse, or is it better to switch to MySQLi ?</description>
		<content:encoded><![CDATA[<p>I would like to you this, but I am curently using MySQL instead of MySQLi. I also use a database handler class. Is it wise to rewrite your class for this purpuse, or is it better to switch to MySQLi ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jared</title>
		<link>http://stephenmcintyre.net/blog/custom-php-session-class/comment-page-1/#comment-9024</link>
		<dc:creator>Jared</dc:creator>
		<pubDate>Thu, 28 Jul 2011 02:07:23 +0000</pubDate>
		<guid isPermaLink="false">http://stephenmcintyre.net/?p=378#comment-9024</guid>
		<description>What is $id used for - I see it referenced in the read method, but can not see it actually being used.</description>
		<content:encoded><![CDATA[<p>What is $id used for &#8211; I see it referenced in the read method, but can not see it actually being used.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen McIntyre</title>
		<link>http://stephenmcintyre.net/blog/custom-php-session-class/comment-page-1/#comment-8863</link>
		<dc:creator>Stephen McIntyre</dc:creator>
		<pubDate>Tue, 19 Jul 2011 19:29:08 +0000</pubDate>
		<guid isPermaLink="false">http://stephenmcintyre.net/?p=378#comment-8863</guid>
		<description>Thanks, I&#039;ve updated the class.</description>
		<content:encoded><![CDATA[<p>Thanks, I&#8217;ve updated the class.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Freddy</title>
		<link>http://stephenmcintyre.net/blog/custom-php-session-class/comment-page-1/#comment-8860</link>
		<dc:creator>Freddy</dc:creator>
		<pubDate>Tue, 19 Jul 2011 16:35:28 +0000</pubDate>
		<guid isPermaLink="false">http://stephenmcintyre.net/?p=378#comment-8860</guid>
		<description>One note.  On the clean function, you&#039;re using the column sesh_last_accessed rather than just last_accessed</description>
		<content:encoded><![CDATA[<p>One note.  On the clean function, you&#8217;re using the column sesh_last_accessed rather than just last_accessed</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Freddy</title>
		<link>http://stephenmcintyre.net/blog/custom-php-session-class/comment-page-1/#comment-8712</link>
		<dc:creator>Freddy</dc:creator>
		<pubDate>Fri, 15 Jul 2011 19:24:11 +0000</pubDate>
		<guid isPermaLink="false">http://stephenmcintyre.net/?p=378#comment-8712</guid>
		<description>Good stuff, it&#039;s a good base class to start with and modify until something custom you really need(if need be of course).

The main change I did when using it is convert it so that it&#039;s a singleton class, this way no matter at which depth of the application you&#039;re writing, you always get the same session object throughout the lifetime of that one script.  That way it makes it easier to not have to pass around the session object the whole time. 

Just thought I&#039;d throw that in there. 

Thanks again</description>
		<content:encoded><![CDATA[<p>Good stuff, it&#8217;s a good base class to start with and modify until something custom you really need(if need be of course).</p>
<p>The main change I did when using it is convert it so that it&#8217;s a singleton class, this way no matter at which depth of the application you&#8217;re writing, you always get the same session object throughout the lifetime of that one script.  That way it makes it easier to not have to pass around the session object the whole time. </p>
<p>Just thought I&#8217;d throw that in there. </p>
<p>Thanks again</p>
]]></content:encoded>
	</item>
</channel>
</rss>

