use wcf\data\user\User;
use wcf\system\cache\CacheHandler;
use wcf\system\exception\PermissionDeniedException;
+use wcf\system\request\RequestHandler;
use wcf\system\user\authentication\UserAuthenticationFactory;
use wcf\system\user\storage\UserStorageHandler;
use wcf\system\SingletonFactory;
'requestURI' => $this->requestURI,
'requestMethod' => $this->requestMethod,
'lastActivityTime' => TIME_NOW,
- 'packageID' => PACKAGE_ID
+ 'packageID' => PACKAGE_ID,
+ 'controller' => RequestHandler::getInstance()->getActiveRequest()->getClassName()
);
if ($this->variablesChanged) {
$data['sessionVariables'] = serialize($this->variables);
lastActivityTime INT(10) NOT NULL DEFAULT 0,
requestURI VARCHAR(255) NOT NULL DEFAULT '',
requestMethod VARCHAR(4) NOT NULL DEFAULT '',
+ controller VARCHAR(255) NOT NULL DEFAULT '',
username VARCHAR(255) NOT NULL DEFAULT '',
sessionVariables MEDIUMTEXT,
KEY sessionID (sessionID, packageID)
lastActivityTime INT(10) NOT NULL DEFAULT 0,
requestURI VARCHAR(255) NOT NULL DEFAULT '',
requestMethod VARCHAR(4) NOT NULL DEFAULT '',
+ controller VARCHAR(255) NOT NULL DEFAULT '',
username VARCHAR(255) NOT NULL DEFAULT '',
sessionVariables MEDIUMTEXT,
spiderID INT(10) NOT NULL DEFAULT 0,