I have NEVER used "sessions" before, so I have a really stupid basic question, and I apologize if this is too simple for this group. Here it is:
Does using "sessions," add any time lag, or a slight delay for php? If so, is it noticeable?
For example, if I want a variable generated, and want to keep it the same no matter how many times the visitor "reloads" the page, here is an example of code that I may use:
<?
session_start();
if (isset($myvariable))
{
echo $myvariable;
}
else {
$myvariable = date("njis");
}
echo $myvariable;
session_register("myvariable");
?>
So... will there be a noticeable "lag" or "pause?" The reason I ask, is that I have a mental picture of PHP kinda acting like how JAVA acts when people have java on their website... like, "okay... session must now be initiated...starting session......lag...lag...okay session initiated...etc."
Thank you