<?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 for Konr Ness</title>
	<atom:link href="http://konrness.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://konrness.com</link>
	<description>PHP, Javascript, Zend Framework</description>
	<lastBuildDate>Sat, 28 Jan 2012 07:46:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>Comment on How to Create Javascript Objects by Recursive initialization of JavaScript objects and their children &#124; JaSpr.net &#8211; Blog</title>
		<link>http://konrness.com/javascript/how-to-create-javascript-objects/#comment-434</link>
		<dc:creator>Recursive initialization of JavaScript objects and their children &#124; JaSpr.net &#8211; Blog</dc:creator>
		<pubDate>Sat, 28 Jan 2012 07:46:57 +0000</pubDate>
		<guid isPermaLink="false">http://konrness.com/?p=33#comment-434</guid>
		<description>[...] or even best practices. (A good, quick article to read first can be found on Konr Ness&#039;s post How to Create Javascript Objects.) Rather, I wanted to introduce the idea of recursive initialization of objects and their [...]</description>
		<content:encoded><![CDATA[<p>[...] or even best practices. (A good, quick article to read first can be found on Konr Ness&#039;s post How to Create Javascript Objects.) Rather, I wanted to introduce the idea of recursive initialization of objects and their [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP Session Locks &#8211; How to Prevent Blocking Requests by {5} Setfive &#8211; Talking to the World &#187; Blog Archive &#187; AJAX Request Slow With PHP? Here&#8217;s Why</title>
		<link>http://konrness.com/php5/how-to-prevent-blocking-php-requests/#comment-433</link>
		<dc:creator>{5} Setfive &#8211; Talking to the World &#187; Blog Archive &#187; AJAX Request Slow With PHP? Here&#8217;s Why</dc:creator>
		<pubDate>Wed, 18 Jan 2012 21:09:24 +0000</pubDate>
		<guid isPermaLink="false">http://konrness.com/?p=57#comment-433</guid>
		<description>[...] I looked around the web for a while trying to figure out what in the world was going on. It turns out that PHP&#8217;s default session_start will block future session_starts for the same session until the session is closed. This is because the default method uses a file on the filesystem which it locks until you close it. If you want more information on this and how to close it you can read a bit more here. [...]</description>
		<content:encoded><![CDATA[<p>[...] I looked around the web for a while trying to figure out what in the world was going on. It turns out that PHP&#8217;s default session_start will block future session_starts for the same session until the session is closed. This is because the default method uses a file on the filesystem which it locks until you close it. If you want more information on this and how to close it you can read a bit more here. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP Session Locks &#8211; How to Prevent Blocking Requests by Rob Ferrer</title>
		<link>http://konrness.com/php5/how-to-prevent-blocking-php-requests/#comment-432</link>
		<dc:creator>Rob Ferrer</dc:creator>
		<pubDate>Tue, 03 Jan 2012 17:33:47 +0000</pubDate>
		<guid isPermaLink="false">http://konrness.com/?p=57#comment-432</guid>
		<description>Thanks so much. The main problem we were having is that if a long-running script is cancelled or fails for some reason, the session file seems to remain locked indefinitely, causing all pages to be completely inaccessible.

Now going to do an audit of all session access in our site and close the session as early as possible.</description>
		<content:encoded><![CDATA[<p>Thanks so much. The main problem we were having is that if a long-running script is cancelled or fails for some reason, the session file seems to remain locked indefinitely, causing all pages to be completely inaccessible.</p>
<p>Now going to do an audit of all session access in our site and close the session as early as possible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP Session Locks &#8211; How to Prevent Blocking Requests by Tim</title>
		<link>http://konrness.com/php5/how-to-prevent-blocking-php-requests/#comment-431</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Sun, 20 Nov 2011 11:17:30 +0000</pubDate>
		<guid isPermaLink="false">http://konrness.com/?p=57#comment-431</guid>
		<description>Thank you so much! you just saved me!!</description>
		<content:encoded><![CDATA[<p>Thank you so much! you just saved me!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Google Wave-style scroll bar jQuery plugin by chlitto</title>
		<link>http://konrness.com/javascript/google-wave-style-scroll-bar-jquery-plugin/#comment-430</link>
		<dc:creator>chlitto</dc:creator>
		<pubDate>Fri, 30 Sep 2011 08:37:28 +0000</pubDate>
		<guid isPermaLink="false">http://konrness.com/?p=87#comment-430</guid>
		<description>great plugin, maybe now it&#039;s time to immortalize the google plus &quot;scroll&quot; ;] ? (press j / k in your g+ stream)</description>
		<content:encoded><![CDATA[<p>great plugin, maybe now it&#8217;s time to immortalize the google plus &#8220;scroll&#8221; ;] ? (press j / k in your g+ stream)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Google Wave-style scroll bar jQuery plugin by Plugins Jquery Scroll &#187; Example Codes</title>
		<link>http://konrness.com/javascript/google-wave-style-scroll-bar-jquery-plugin/#comment-429</link>
		<dc:creator>Plugins Jquery Scroll &#187; Example Codes</dc:creator>
		<pubDate>Wed, 22 Jun 2011 18:11:33 +0000</pubDate>
		<guid isPermaLink="false">http://konrness.com/?p=87#comment-429</guid>
		<description>[...] 1. Google Wave-style scroll bar jQuery plugin  [...]</description>
		<content:encoded><![CDATA[<p>[...] 1. Google Wave-style scroll bar jQuery plugin  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP Session Locks &#8211; How to Prevent Blocking Requests by Ashok</title>
		<link>http://konrness.com/php5/how-to-prevent-blocking-php-requests/#comment-428</link>
		<dc:creator>Ashok</dc:creator>
		<pubDate>Wed, 18 May 2011 10:03:34 +0000</pubDate>
		<guid isPermaLink="false">http://konrness.com/?p=57#comment-428</guid>
		<description>Thank you so much.

Actually I was facing this problem when I wanted to display % of uploading file on server. So uploading request was taking so much time .. and in between I wanted to get size of file through ajax request. In session I was updating file information
....but without session_write_close() function I was always getting old request file information in session !!! but this saved my day.

Thank you so much

Ashok.</description>
		<content:encoded><![CDATA[<p>Thank you so much.</p>
<p>Actually I was facing this problem when I wanted to display % of uploading file on server. So uploading request was taking so much time .. and in between I wanted to get size of file through ajax request. In session I was updating file information<br />
&#8230;.but without session_write_close() function I was always getting old request file information in session !!! but this saved my day.</p>
<p>Thank you so much</p>
<p>Ashok.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP Session Locks &#8211; How to Prevent Blocking Requests by eel</title>
		<link>http://konrness.com/php5/how-to-prevent-blocking-php-requests/#comment-427</link>
		<dc:creator>eel</dc:creator>
		<pubDate>Thu, 28 Apr 2011 02:19:09 +0000</pubDate>
		<guid isPermaLink="false">http://konrness.com/?p=57#comment-427</guid>
		<description>I am trying to do the same thing as Henkka, and it seems to work okay... Is there anything wrong with this method?</description>
		<content:encoded><![CDATA[<p>I am trying to do the same thing as Henkka, and it seems to work okay&#8230; Is there anything wrong with this method?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP Session Locks &#8211; How to Prevent Blocking Requests by eel</title>
		<link>http://konrness.com/php5/how-to-prevent-blocking-php-requests/#comment-426</link>
		<dc:creator>eel</dc:creator>
		<pubDate>Thu, 28 Apr 2011 02:18:09 +0000</pubDate>
		<guid isPermaLink="false">http://konrness.com/?p=57#comment-426</guid>
		<description>@henkka

Are Henkka&#039;s usage of the session_start and session_write_close functions valid???

&lt;blockquote cite=&quot;#commentbody-423&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-423&quot; rel=&quot;nofollow&quot;&gt;henkka&lt;/a&gt; :&lt;/strong&gt;
Can I write to the session in the middle of the long-running operation like this:
&lt;?php
session_start();
…
session_write_close();
// long-running operation begins
…
// need to write to the session
session_start();
$_SESSION[&#039;variable&#039;] = value;
session_write_close();
// long-running operation continues
…
&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>@henkka</p>
<p>Are Henkka&#8217;s usage of the session_start and session_write_close functions valid???</p>
<blockquote cite="#commentbody-423"><p>
<strong><a href="#comment-423" rel="nofollow">henkka</a> :</strong><br />
Can I write to the session in the middle of the long-running operation like this:<br />
&lt;?php<br />
session_start();<br />
…<br />
session_write_close();<br />
// long-running operation begins<br />
…<br />
// need to write to the session<br />
session_start();<br />
$_SESSION['variable'] = value;<br />
session_write_close();<br />
// long-running operation continues<br />
…
</p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP Session Locks &#8211; How to Prevent Blocking Requests by Ilian Andreev</title>
		<link>http://konrness.com/php5/how-to-prevent-blocking-php-requests/#comment-425</link>
		<dc:creator>Ilian Andreev</dc:creator>
		<pubDate>Mon, 04 Apr 2011 22:19:52 +0000</pubDate>
		<guid isPermaLink="false">http://konrness.com/?p=57#comment-425</guid>
		<description>It&#039;s because session_start() effectively makes all AJAX requests synchronous if you don&#039;t explicitly close it ....</description>
		<content:encoded><![CDATA[<p>It&#8217;s because session_start() effectively makes all AJAX requests synchronous if you don&#8217;t explicitly close it &#8230;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

