mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Issue 2557 refresh a member's session information when the member do sign in or out.
- delete duplicated session informations. git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11605 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6fec3e0250
commit
27da205cce
2 changed files with 15 additions and 0 deletions
|
|
@ -1556,6 +1556,9 @@
|
|||
$args->member_srl = $this->memberInfo->member_srl;
|
||||
$output = executeQuery('member.updateLastLogin', $args);
|
||||
|
||||
// Delete overlapped member session.
|
||||
$output = executeQuery('member.deleteMemberSession', $args);
|
||||
|
||||
// Check if there is recoding table.
|
||||
$oDB = &DB::getInstance();
|
||||
if($oDB->isTableExists('member_count_history') && $config->enable_login_fail_report != 'N')
|
||||
|
|
@ -2072,6 +2075,10 @@
|
|||
$args->member_srl = $memberSrl;
|
||||
$args->autologin_key = $_COOKIE['xeak'];
|
||||
$output = executeQuery('member.deleteAutologin', $args);
|
||||
if($memberSrl)
|
||||
{
|
||||
$output = executeQuery('member.deleteMemberSession', $args);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue