Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
About "Webservice_Session_Idle_Time"
#2
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
Reply


Messages In This Thread
RE: About "Webservice_Session_Idle_Time" - joebordes - 05-05-2017, 12:03 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)