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

asp.net - Procedure or function "Procedure name" expects a parameter "Param name" which was not supplied occurs rarely -

c# - The item with identity 'Id' already exists in the metadata collection. Parameter name: item -

c++ - Redefined variable in the other module -