Session_name(): Cannot change session name when session is active


(Josephfranciskumar) #1

Hi everyone ,

am using yii 1.13 framework.i had freshly install my project into another laptop. while am accessing it like on the browser like (http://localhost/source/ ),this error came. Am using in xampp.How to solve this issue? Please find it below. and i have attached scrrenshot.

Thanks!!!

session_name(): Cannot change session name when session is active


(Alexander Makarov) #2

Update framework to latest version. It’s fixed there.


(gerônimo) #3

Hi there, I had the same problem and was using 1.1.13.
I then updated to 1.1.21.733ac5 (happy to do that!) but warning is still there…
For the record:
" Warning : session_name(): Cannot change session name when session is active…"
Any other clue ?
Thanks for your time.


(Alexander Makarov) #4

Sounds like a bug. Could you collect a reproduceable minimal test case for it and report to github? https://github.com/yiisoft/yii