登录页面:
<?php
session_start();
#echo session_id ();
$_SESSION["auth"]= "yes";
echo '<a href="Portaltest.php?t='.time().'">portal page link. Auth set to: {$_SESSION["auth"]}</a>';
?>
门户页面:
<?php session_start();
echo "auth = {$_SESSION["auth"] } <BR />";
echo session_id ();
?>
不知何故,两个页面之间的auth
会话丢失了!
编辑
这是一个测试网址:
http://proserv01.services.lyris.com/NFPInsurance/UnsegmentedMemberReport/logintest.php