'sessionID' => $sessionID,
'packageID' => PACKAGE_ID,
'userID' => $this->user->userID,
- 'username' => ($this->user->username === null) ? '' : $this->user->username,
'ipAddress' => UserUtil::getIpAddress(),
'userAgent' => UserUtil::getUserAgent(),
'lastActivityTime' => TIME_NOW,
// update session
$sessionEditor = new $this->sessionEditorClassName($this->session);
$sessionEditor->update(array(
- 'userID' => $this->user->userID,
- 'username' => $this->user->username
+ 'userID' => $this->user->userID
));
}
parentObjectID INT(10) NOT NULL DEFAULT 0,
objectType VARCHAR(255) NOT NULL DEFAULT '',
objectID INT(10) NOT NULL DEFAULT 0,
- username VARCHAR(255) NOT NULL DEFAULT '',
sessionVariables MEDIUMTEXT,
KEY sessionID (sessionID, packageID)
);
parentObjectID INT(10) NOT NULL DEFAULT 0,
objectType VARCHAR(255) NOT NULL DEFAULT '',
objectID INT(10) NOT NULL DEFAULT 0,
- username VARCHAR(255) NOT NULL DEFAULT '',
sessionVariables MEDIUMTEXT,
spiderID INT(10) NOT NULL DEFAULT 0,
KEY packageID (packageID, lastActivityTime, spiderID)