Hello,
session_start() will begin a session but, as I understand it, a session will also be started when you try to register a session variable.
Why, therefore, do you need to call session_start() in the following example? Won't registering the session variable on the second line start the session anyway?
session_start(); //necessary in this case?
$_SESSION['var']=true;
Just something I wanted to clear up.
Thanks.