public function regenerateID($deleteOldSession = false)
{
// add @ to inhibit possible warning due to race condition
// github.com/yiisoft/yii2/pull/1812
//@session_regenerate_id($deleteOldSession); //注释掉这一行就可以了
}
public function regenerateID($deleteOldSession = false)
{
// add @ to inhibit possible warning due to race condition
// github.com/yiisoft/yii2/pull/1812
//@session_regenerate_id($deleteOldSession); //注释掉这一行就可以了
}