hi...can someone explain me why i see this on the php manual:
If you are using $_SESSION (or $HTTP_SESSION_VARS), do not use session_register(), session_is_registered() and session_unregister().
there's several cautions in the sessions manuals.
thanks.
session_unregister
Moderator: General Moderators
http://fi.php.net/manual/fi/function.se ... gister.php
So if you want your script to be portable you should use $_SESSION. session_register &co. seem to be rather oldish ways of doing stuff.In the manual:
If you want your script to work regardless of register_globals, you need to instead use the $_SESSION array as $_SESSION entries are automatically registered. If your script uses session_register(), it will not work in environments where the PHP directive register_globals is disabled.