I use framework Yii2. When i make:
Yii::$app->user->login($this->getUser(), 60);//cookies for 60 seconds
Browser Google Chrome does not remove cookies after the expiration of 60 seconds.
If I do not use a framework Yii2:
setcookie("test", time() + (60), "/");
it all works.
Why, if you use Yii2, that does not work delete cookies in browser GoogleChrom?