This is a little lower level topic but here it goes.
For performance reasons, I want to know when the sess_XXXXXXXXXXXXXX file is read. Is it read, thus causing IO, each time the php page is parsed or each time a session variable is evaluated.
Here is a very simple example:
$SESSION['VAR1']=5;
for ($i = 0; $i < $SESSION['VAR1']; $i++)
{
echo $i . " " . $_SESSION['VAR1'] . "\n";
}
The sess_XXXXXXX file be read how many times:
a. 1
b. 2
c. 3
d. 10
e. I can't count properly
Ishi