[CLOSED] Problem with cookies

I have multiple applications based on yii advanced app running on my server and for some reason on one of them Cookie are not being created.




$_COOKIE

Empty.



Because of that each time I POST something the csrf verification fail and I cannot validate any form.

I this test server I am on Windows 10 with YII 2.0.10 and PHP 7.

I have already

  • recreated the vendor folder

  • change browser

  • clear cache and cookie

  • re init the app in dev to get a new cookieValidationKey

Any clue is welcome, I am running out of ideas.

  • Matt

I cloned the project from git and now it works. I guess I’ll never know the cause.