Articles tagged with "cwebuser"X
Displaying 1-3 of 3 result(s).

How to create Module based Login

Created 5 months ago by turiHow-tos1 comment – viewed 6,025 times – ( +3 ) – version 1.1
Lets say we have 3 modules (customer, user, admin) in an application and we need, separate logins for each module.

HOW TO: Use token based authentication

Created 6 months ago by le_topHow-tos0 comments – viewed 5,358 times – ( +3 ) – version 1.1
After reading the other wiki article regarding token based access, I thought that it might be interesting to share my method.

How to add more information to Yii::app()->user

Created 5 years ago by qiangTutorials1 comment – viewed 112,675 times – ( +25 ) – version 1.1
By default, the expression Yii::app()->user returns a CWebUser application component which represents the information that are closely related with the current user. Some information can be persistent throughout the current user session. For example, CWebUser already comes with a name property that stores the username of the current user.