<html>;
<head>;
<title>;3.php</title>;
</head>;
<body>;
<?
echo "The user name is:".$aUser."<br>;";
echo "The password is:".$aAccount."<br>;";
?>;
<br>;<br>;
<form action="session_2.php" method="post">;
<a href="session_2.php">; go to page 2 </a>;
go to page 2
Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0
(session_2.php)只显示
The user name is:
The password is:
没有session_1.php建立会话中传递过来的变量.但是在/tmp中有会话ID,内容是aUser|s:6:"Cidnie";aAccount|s:4:"1016";