05-05-2017, 12:03 PM
Try this change and let me know if it is better:
Code:
diff --git a/include/Webservices/SessionManager.php b/include/Webservices/SessionManager.php
index cb88c0e..d2d6a47 100644
--- a/include/Webservices/SessionManager.php
+++ b/include/Webservices/SessionManager.php
@@ -20,7 +20,7 @@ require_once("include/HTTP_Session2/Session2.php");
function __construct(){
$now = time();
$this->maxLife = $now + GlobalVariable::getVariable('WebService_Session_Life_Span',86400);
- $this->idleLife = $now + GlobalVariable::getVariable('WebService_Session_Idle_Time',1800);
+ $this->idleLife = $now + GlobalVariable::getVariable('WebService_Session_Idle_Time',1800,'',Users::getActiveAdminId());
HTTP_Session2::useCookies(false); //disable cookie usage. may this could be moved out constructor?
// only first invocation of following method, which is setExpire
Joe
TSolucio
TSolucio