Answer the question
In order to leave comments, you need to log in
Why are cookies not coming from the remote server?
I uploaded the site to the hosting and I don’t get cookies from there, although everything is fine on the local server
here are the server settings radio.colocall.com/index2.php
like this I set the cookie
$cookie = new CHttpCookie('user', serialize($model));
$cookie->expire = time() + 1800;
Yii::app()->request->cookies['user']=$cookie;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question