<?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: Flaws in PHP sessions &#8211; session_start causes site to run slowly</title>
	<atom:link href="http://www.ideologics.co.uk/programming/flaws-in-php-sessions-session_start-causes-site-to-run-slowly/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ideologics.co.uk/programming/flaws-in-php-sessions-session_start-causes-site-to-run-slowly</link>
	<description>All About Computers</description>
	<lastBuildDate>Tue, 08 May 2012 17:30:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: really late post</title>
		<link>http://www.ideologics.co.uk/programming/flaws-in-php-sessions-session_start-causes-site-to-run-slowly#comment-28</link>
		<dc:creator>really late post</dc:creator>
		<pubDate>Thu, 12 May 2011 20:26:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.eyeonsilicon.com/?p=134#comment-28</guid>
		<description>I just switched hosts, and now i think my session_start is really causing each page to take about 20 seconds to load. It used to now on my personal server. Were you ever able to upload your modular version of the session</description>
		<content:encoded><![CDATA[<p>I just switched hosts, and now i think my session_start is really causing each page to take about 20 seconds to load. It used to now on my personal server. Were you ever able to upload your modular version of the session</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Free Webmaster Tools</title>
		<link>http://www.ideologics.co.uk/programming/flaws-in-php-sessions-session_start-causes-site-to-run-slowly#comment-27</link>
		<dc:creator>Free Webmaster Tools</dc:creator>
		<pubDate>Mon, 16 Mar 2009 12:56:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.eyeonsilicon.com/?p=134#comment-27</guid>
		<description>Thank you, I really need to know this. Can I request you post something on Aweber? I have problems using aweber and need some simple orientation. Hopefully I will be able to use the Aweber more effectively</description>
		<content:encoded><![CDATA[<p>Thank you, I really need to know this. Can I request you post something on Aweber? I have problems using aweber and need some simple orientation. Hopefully I will be able to use the Aweber more effectively</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.ideologics.co.uk/programming/flaws-in-php-sessions-session_start-causes-site-to-run-slowly#comment-26</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Tue, 02 Dec 2008 03:07:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.eyeonsilicon.com/?p=134#comment-26</guid>
		<description>I think I will do some tests to see if it does the same thing with Windows. Personally, I think it should be an option in the php.ini file - so you can make it &quot;wait&quot; for the other process(es) first, before continuing!

&lt;abbr&gt;&lt;em&gt;Marks last blog post..&lt;a href=&quot;http://www.krammeh.co.uk/11/02/windows-vista-start-menu-updates-not-shown/&quot; rel=&quot;nofollow&quot;&gt;Windows Vista Start Menu updates not shown&lt;/a&gt;&lt;/em&gt;&lt;/abbr&gt;</description>
		<content:encoded><![CDATA[<p>I think I will do some tests to see if it does the same thing with Windows. Personally, I think it should be an option in the php.ini file &#8211; so you can make it &#8220;wait&#8221; for the other process(es) first, before continuing!</p>
<p><abbr><em>Marks last blog post..<a href="http://www.krammeh.co.uk/11/02/windows-vista-start-menu-updates-not-shown/" rel="nofollow">Windows Vista Start Menu updates not shown</a></em></abbr></p>
]]></content:encoded>
	</item>
</channel>
</rss>
<div style="height: 65px;">
</div>

<style>
.chatshadow {
-moz-box-shadow: 0px 0px 5px 1px #000000;
-webkit-box-shadow: 0px 0px 5px 1px #000000;
box-shadow: 0px 0px 5px 1px #000000;
}
textarea { font: 10pt Calibri; }
</style>

<div class="chatshadow" style="position: fixed; left: 20px; right: 20px; bottom: 0px;
  border: 4px solid #0080FF; border-bottom: 0px; background: #EEEEEE; font: 9pt Calibri; ">
<div style="padding: 5px; color: #000000;">

<div id="chat_update_count" style="float: right; display: none;">0</div>

<div id="chat_div" style="display: none;">

<div style="padding-bottom: 5px; text-align: center;">
Chat room for this page.
<input type="button" value="Close Chat" onclick="closeChat();" style="padding: 4px 8px; font: 9pt Calibri; color: #000000;">
</div>

<div id="chat_log_div" style="height: 150px; overflow: auto; padding: 10px; background: #FFFFFF; border: 1px solid #363636;">
<div id="chat_log" style="font: 9pt Verdana;">
</div>
</div>

<div style="padding-top: 2px; text-align: center;">
<input id="chat_message" style="font: 9pt Verdana; color: #000000; width: 200px; padding: 6px 4px; background: #FFFFFF; border: 1px solid #363636;" onKeyPress="checkChatEvent(event)">
</div>

</div>

<div id="chat_idle_div" style="text-align: center; display: block;">

<b>Are you looking for help?</b> Chat with other visitors here! <span style="padding: 3px; background: #0080FF; color: #FFFFFF; font-weight: 600;">Programming Room:</span> <span id="chat_count">There are no other people in this room.</span> <input type="button" value="Open Chat" onclick="openChat();" style="padding: 4px 8px; font: 9pt Calibri; color: #000000;"></div>




</div>
</div>

<script>
var chat_on=false,update_count=0;
function openChat() {
  document.getElementById('chat_idle_div').style.display='none';
  document.getElementById('chat_div').style.display='block';
  document.getElementById('chat_message').focus();
  chat_on=true;
  updateChat();
}
function closeChat() {
  document.getElementById('chat_div').style.display='none';
  document.getElementById('chat_idle_div').style.display='block';
  chat_on=false;
}
function updateChat() {
  update_count++;
  document.getElementById('chat_update_count').innerHTML=update_count;

  var xmlHttp;

  xmlHttp=GetXmlHttpObject();
  xmlHttp.onreadystatechange=function() {
    if (xmlHttp.readyState==4) {
      if (chat_on) {
        document.getElementById('chat_log').innerHTML=xmlHttp.responseText;
        chatScroll();
      } else {
        document.getElementById('chat_count').innerHTML=xmlHttp.responseText;
      }
      delete xmlHttp;
    }
  }
  url="/chat_read.php?epoch="+getEpoch()+"&page=programming";
  if (chat_on)
    url=url+"&chat_on=1";
  else
    url=url+"&chat_on=0";
  xmlHttp.open("GET",url,true);
  xmlHttp.send(null);

}
function getEpoch() {
  return Math.round(new Date().getTime()/1000.0);
}
function GetXmlHttpObject()
{
var xmlHttp=null;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
    }
  }
return xmlHttp;
}
function resizeForm() {
  var theWidth, theHeight;
  // Window dimensions:
  if (window.innerWidth) {
  theWidth=window.innerWidth;
  }
  else if (document.documentElement && document.documentElement.clientWidth) {
  theWidth=document.documentElement.clientWidth;
  }
  else if (document.body) {
  theWidth=document.body.clientWidth;
  }
  if (window.innerHeight) {
  theHeight=window.innerHeight;
  }
  else if (document.documentElement && document.documentElement.clientHeight) {
  theHeight=document.documentElement.clientHeight;
  }
  else if (document.body) {
  theHeight=document.body.clientHeight;
  }

  document.getElementById('chat_message').style.width=(theWidth-85)+'px';
}

function checkChatEvent(e) {
  var characterCode;

  if (e && e.which) {
    e=e;
    characterCode=e.which;
  } else {
    e=event;
    characterCode=e.keyCode;
  }

  if (characterCode==13) {
    chatSendMessage();
    return false;
  }

}


function chatSendMessage() {
  var t=document.getElementById('chat_message').value;
  var xmlHttp,objDiv;

  document.getElementById('chat_message').value='';

  xmlHttp=GetXmlHttpObject();
  xmlHttp.onreadystatechange=function() {
    if (xmlHttp.readyState==4) {
      if (xmlHttp.status==200) {
        updateChat();
      }
      delete xmlHttp;
    }
  }
  xmlHttp.open("GET","/chat_send.php?epoch="+getEpoch()+"&page=programming&message="+encodeURIComponent(t),true);
  xmlHttp.send(null);

}
function chatScroll() {
  document.getElementById('chat_log_div').scrollTop=document.getElementById('chat_log_div').scrollHeight;
}



window.onresize = function(){
  resizeForm();
}

resizeForm();
setInterval('updateChat()',3000);
</script>
