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'),
),
),
```[...]