php - disable session default set id and name in yii -


I am setting the following session value in yii when the user is logged in

In my configuration Settings file

  'session' = & gt; I have set these values ​​in the authentication of user identity ('sessionName' = & gt; 'ems', 'class' => 'cdb.htipesation'),   

P> Yii :: app () -> session ['login'] = 1; Yii :: app () - & gt; Session ['display_name'] = $ this- & gt; User name;

But when I print the session, I get this value

  Array ([display_name] => admin @ xxxxxxxxx [logged_in ] = & gt; 1 [8f9f85051824e063ad61f50fedc52f93__id] = & gt; admin @ xxxxxxxxxx [8f9f85051824e063ad61f50fedc52f93__name] = & gt; admin @ XXXXXXXXX [8f9f85051824e063ad61f50fedc52f93__states] = & gt; array ())   

8f9f85051824e063ad61f50fedc52f93__id, How to disable the name or where it will be

set this value in the class, in the login method, see And.

"8f9f85051824e063ad61f50fedc52f93" is the prefix generated in the method

Comments

Popular posts from this blog

cmake set_source_files_properties not working properly -

python - Writing Greek in matplotlib labels, titles -

Pygame memory leak with transform.flip -