I have been using php for about 9 months now and have found a problem in my code...
I run a page for my users to input data and I use ajax to create an iframe to store data so that I can perform calculations without the user seeing a lag between inputs as I recalculate my prices after every change in the data.
if I ever refresh the page, the next input causes the browser to seemingly hang for almost 30 seconds.
if have narrowed it down to the session_start()
I modified the code to display the time difference:
echo '<div>BEFORE SESSION START= '.date("H:i:s").'</div>';
echo '<div>AFTER SESSION START= '.date("H:i:s").'</div>';
if ($_GET['ITEM'] )
This shows me that session_start was lasting anywhere from 24 to 32 seconds to run.