摘要: 今天继续阅读vendor/yiisoft/yii2/web/User.php protected function loginByCookie() //用户的日志。 { $value = Yii::$app->getRequest()->getCookies()->getValue($this->identityCookie['name']); //根据登录的Cook... 阅读全文
posted @ 2016-04-12 22:33 TTKKK 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 今天阅读的是vendor/yiisoft/yii2/web/User.php '_identity', 'httpOnly' => true];//COOKIE的配置,仅当登录时是正确的。 public $authTimeout; //用户登录的状态,如果非活动状态,注销。 public $absoluteAuthTimeout; public $autoRe... 阅读全文
posted @ 2016-04-12 11:11 TTKKK 阅读(839) 评论(0) 推荐(0) 编辑