How to disable sessions, cookies and auto login in Yii2?

前端 未结 1 2124
时光说笑
时光说笑 2021-01-22 00:22

I am building stateless restfull API in Yii2. So I created new APP in my advanced app layout (as preferred by Yii2 creators) and configure all necessary things and API worked.

相关标签:
1条回答
  • 2021-01-22 00:55

    Finally I found out what the problem is. Yii2 worked OK, but Postman had some data stored from the past when cookies and session were enabled. What helped me was deleting browser's history (including cookies), close all instances of browser and rerun.

    0 讨论(0)
提交回复
热议问题