Hi all!
Im having a issue i just found with my Authentication.
When the user logs in, i save a few sessions:
And this works fine, the name displays at the top.
But when the browser is closed and reopend the loginstate remains true (Yii::app()->user->isGuest returns FALSE)
but the name and email is no longer stored.
Why is this? How can i slove that?
Thank you!
Im having a issue i just found with my Authentication.
When the user logs in, i save a few sessions:
Yii::app()->session['id'] = $user->id; Yii::app()->session['name'] = $user->name; Yii::app()->session['email'] = $user->email;
And this works fine, the name displays at the top.
But when the browser is closed and reopend the loginstate remains true (Yii::app()->user->isGuest returns FALSE)
but the name and email is no longer stored.
Why is this? How can i slove that?
Thank you!