Yii Framework Forum

YII2 User session is not working in other controller except the login controller

(Manohar Singh) #1

Once i moved the application to live server Yii2 session is not working for other controller , but i tried to initialize a php session outside the yii folder and the php session is working in all screens , please let me know what went wrong here

(Manohar Singh) #2

I have solved this issue by creating a separate session save path in config / web.php