34k+
News
Guide
API
Wiki
Forum
Community
Places
Members
Hall of Fame
Badges
More
Learn
Books
Resources
Develop
Download Yii
Extensions
Report an Issue
Report a Security Issue
Contribute to Yii
Donate
About
Release Cycle
License
Team
Official Logos and Design
Login
How to get & store Last Login DateTime in database?
Comparing
#4
with
#5
Content
[...]
```php
// application components
'components'=>array(
'user'=>array(
'class'=>'WebUser', //Adding WebUser class
'allowAutoLogin'=>true,
'autoRenewCookie' => true,
'loginUrl' => array('site/login'),
),
),
```
[...]