Answer the question
In order to leave comments, you need to log in
How to make in Yii that the session is deleted after the browser is closed?
Good afternoon. Do not tell me how to make the session be deleted after closing the browser tab.
Piece of code:
$referrer = Yii::app()->session['VoximplantReferrer'];
if(empty($referrer) ) {
$referrer = Yii::app()->session['VoximplantReferrer'] = Yii::app()->request->urlReferrer;
}
Answer the question
In order to leave comments, you need to log in
Clear cookies before leaving on the client
https://www.google.ru/webhp?sourceid=chrome-instan...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question