1. 程式人生 > >yii框架的session

yii框架的session

name nbsp user pre log open() pan clas color

 $session = Yii::$app->session;
                $session->open();
                $session->set(‘username‘, $user);



$session = Yii::$app->session;
        $session->open();
        $user=$session->get(‘username‘);

yii框架的session