|
Posted by Good Man on 07/12/07 21:57
Good Man <heyho@letsgo.com> wrote in news:Xns996BB5FE659EAsonicyouth@
216.196.97.131:
furthermore, if you look at the manual page for "session_register()" (which
you are using in your code):
http://ca3.php.net/manual/en/function.session-register.php
There are warnings abound. Of particular importance is the following:
// Use of session_register() is deprecated
$barney = "A big purple dinosaur.";
session_register("barney");
// Use of $_SESSION is preferred, as of PHP 4.1.0
$_SESSION["zim"] = "An invader from another planet
So drop the deprecated usage, stop trying to re-invent the wheel unless you
have a valid reason for doing so, and use sessions as they were meant to be
used - quickly and EASILY via my previous example.
Good luck.
Navigation:
[Reply to this message]
|