'ipAddress' => UserUtil::getIpAddress(),
'userAgent' => UserUtil::getUserAgent(),
'requestURI' => UserUtil::getRequestURI(),
- 'requestMethod' => (!empty($_SERVER['REQUEST_METHOD']) ? $_SERVER['REQUEST_METHOD'] : '')
+ 'requestMethod' => (!empty($_SERVER['REQUEST_METHOD']) ? substr($_SERVER['REQUEST_METHOD'], 0, 7) : '')
);
}
'userAgent' => UserUtil::getUserAgent(),
'lastActivityTime' => TIME_NOW,
'requestURI' => UserUtil::getRequestURI(),
- 'requestMethod' => (!empty($_SERVER['REQUEST_METHOD']) ? $_SERVER['REQUEST_METHOD'] : '')
+ 'requestMethod' => (!empty($_SERVER['REQUEST_METHOD']) ? substr($_SERVER['REQUEST_METHOD'], 0, 7) : '')
);
if ($spiderID !== null) $sessionData['spiderID'] = $spiderID;
$this->session = call_user_func(array($this->sessionEditorClassName, 'create'), $sessionData);