标签:laravel component csdn ati com use ssi sdn pwd
use Symfony\Component\HttpFoundation\Session\Session;
//存储session
$session = new Session;
$session->set("u_name",$ar->u_name);
$session->set("u_pwd",$ar->u_pwd);
//每次取session必加上
use Symfony\Component\HttpFoundation\Session\Session;
//取session
$session = new Session;
$ss=$session->get("u_name");
laravel session使用 转自http://blog.csdn.net/angle_hearts/article/details/53923782
标签:laravel component csdn ati com use ssi sdn pwd
原文地址:http://www.cnblogs.com/sandada/p/6995318.html