Platform: Win2k Server, Apache 1.3, PHP 4.2.3
I understand that when using $_SESSION variables, using the
"session_regist er()" function should not be done. I have seen no
documentation pertaining the the "why" of this, but I am removing the
offending statements from my code anyway.
Prior to discovering this tidbit, I had been attempting to save some arrrays
in individually registered variables. But the arrays were not being saved
between pages.
I have also attempted to save the array in a $_SESSION variable (e.g.
$SESSION['XYZ']=$XYZ, xyz being an array); still no joy (the data seems to
be ending up in the $_SESSION variable, but again it is not saved between
page requests).
"register_globa ls" is set to "On" in the INI file.
So, to the PHP world at large I ask "what am I missing"?
thanks
I understand that when using $_SESSION variables, using the
"session_regist er()" function should not be done. I have seen no
documentation pertaining the the "why" of this, but I am removing the
offending statements from my code anyway.
Prior to discovering this tidbit, I had been attempting to save some arrrays
in individually registered variables. But the arrays were not being saved
between pages.
I have also attempted to save the array in a $_SESSION variable (e.g.
$SESSION['XYZ']=$XYZ, xyz being an array); still no joy (the data seems to
be ending up in the $_SESSION variable, but again it is not saved between
page requests).
"register_globa ls" is set to "On" in the INI file.
So, to the PHP world at large I ask "what am I missing"?
thanks
Comment