Difference between #4 and #5 of
How to get & store Last Login DateTime in database?

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'),
),
),

```
[...]
2 0
4 followers
Viewed: 24 934 times
Version: 1.1
Category: How-tos
Written by: Rohit Suthar
Last updated by: Rohit Suthar
Created on: Aug 14, 2014
Last updated: 9 years ago
Update Article

Revisions

View all history