When talking about cookie-base login the Yii guide indicates the following:
When talking about cookie-base login the Yii guide indicates the following:
Getting "Expired token" errors ? Here is a solution to avoid invalid CSRF on POST or ajax requests, or user identity changes.
Cookie management in Yii is easy, but may not be so obvious for the beginners to this framework, so I wrote this simple article to clear some doubts out.
This had me stumped for a while so I figured it would be nice to share here to avoid others the grief.