时间:2021-07-01 10:21:17 帮助过:23人阅读
session_start();
echo $_SESSION['XXX']; //获取不到值
session_start();
echo $_SESSION['XXX']; //获取不到值
use Symfony\Component\HttpFoundation\Session\Session;
$session = new Session();
$session->start();