En mere brugerkommentar fra
http://www.php.net/manual/en/ref.session.php :
[Verified on PHP4.0.4pl1 on linux/apache]
If you enable track_vars and disable register_globals, you can use
$HTTP_SESSION_VARS[] to save as session var WITHOUT using
session_register().
There are many reasons why PHP user want to disable register_globals. This
can be yet another reason to do that.
> Har læst denne brugerkommentar til session_register inde på php.net:
>
> "Note that if you are running with register_globals set to off, you don't
> need this function, and shouldn't use it. Instead, just call
> start_session() and subsequently access $HTTP_SESSION_VARS as if it were a
> normal array; it will be persistent across pages (at least after you call
> start_session()), and changes you make to it will 'stick'."
>
> Så vidt jeg kan se, er dette ikke noget der er dokumenteret i
> PHP-dokumentationen. Er det så overhovedet noget man skal regne med at det
> vil virke i de kommende versioner af PHP?
>
> Mvh Stig N. Jepsen
>
>