session - PHP use $_ENV instead of $_SESSION -
is danger in using $_env hold global script variables rather using $_session? understand difference between 2 superglobals not sure of impact of using $_env on $_session? $_session provide more security?
they 2 complete different thing.
$_session: associative array containing session variables available current script.
$_env: associative array of variables passed current script via environment method.
Comments
Post a Comment