----------------login.php-----------------------
session_start();
global $username,$password;$username = $_GET['username'];
$password = $_GET['password'];session_register("username");
session_register("password");$_SESSION["username"] = $username;
$_SESSION["password"] = $password;
---------------popedom.php---------------
session_start();
global $username,$password;$username = $_GET['username'];
$password = $_GET['password'];session_register("username");
session_register("password");$_SESSION["username"] = $username;
$_SESSION["password"] = $password;这样写对吗,为什么接收不到值?