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

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -