Revision #5 has been created by Rohit Suthar on Sep 11, 2014, 5:38:13 AM with the memo:
adding config file source code
« previous (#4)
Changes
Title
unchanged
How to get & store Last Login DateTime in database?
Category
unchanged
How-tos
Yii version
unchanged
Tags
unchanged
login, CWebUser, LastLoginTime, UserIdentity
Content
changed
[...]
```php
// application components
'components'=>array(
'user'=>array(
'class'=>'WebUser', //Adding WebUser class
'allowAutoLogin'=>true,
'autoRenewCookie' => true,
'loginUrl' => array('site/login'),
),
),
```[...]