since I’ve upgraded to 1.1.8, it is not possible to login anymore to my webapp. I enter the correct login/password, but user remains not logged in. After some investigation, I tried to comment out the call to Yii::app()->getSession()->regenerateID(); in CWebUser (line 680) … and then everything is back to normal.
On the php.net site, some comments are related to a possible problem with session_regenerate_id() …
Has anyone experienced such problem ? any idea to fix it ?
Thanks for the suggestion Jacmoe … I tried that but unfortunatly with same result. Anyway, as I’m using CDbHttpSession so if I’m not mistaken, state.bin is not used.
I did try CDbHttpSession with the latest yii version (1.1.9_dev) and 1.1.8, both worked excellent with default (not set) connectionID (which is sqlite3) and my own connectionID (mysql). Maybe try usign default db (sqlite) and see if it still does not work?
Did you try clearing your browser’s cookies? Or maybe there are two cookies named PHPSESSID? Check that with Google Chrome or FF with WebDeveloper plugin or other…
Anyway, it looks like it has to be something related to your project/setup/config/database/browser