Difference between #4 and #5 of
Google style sign out of all other sessions

Revision #5 has been created by Rohit Suthar on Jan 7, 2015, 11:28:59 AM with the memo:

updated codes
« previous (#4)

Changes

Title unchanged

Google style sign out of all other sessions

Category unchanged

How-tos

Yii version unchanged

Tags unchanged

login, muti-login, mutiple login, Logout, signout all, ActiveSession, CWebUser, CBehavior, active record, IP, getUserHostAddress, getUserAgent

Content changed

[...]
```php
// application components
'user'=>array(
    'class'=>'WebUser',
 
// enable cookie-based authentication
'allowAutoLogin'=>true,
'loginUrl' => array('site/login'), //login page url
),
```
[...]
0 0
5 followers
Viewed: 26 274 times
Version: 1.1
Category: How-tos
Written by: Rohit Suthar
Last updated by: Rohit Suthar
Created on: Aug 21, 2014
Last updated: 9 years ago
Update Article

Revisions

View all history