webservices/wsframework/src/senwebservicesession.cpp
branchRCL_3
changeset 23 1adb97a15c2f
parent 22 c5fabff9b552
--- a/webservices/wsframework/src/senwebservicesession.cpp	Tue Aug 31 16:18:26 2010 +0300
+++ b/webservices/wsframework/src/senwebservicesession.cpp	Wed Sep 01 12:28:05 2010 +0100
@@ -39,7 +39,7 @@
 #include "senservicepolicy.h"
 #include "seninternalcredential.h"
 #include "sensaxutils.h"
-#include <xml/dom/xmlengnodelist.h>
+#include <xmlengnodelist.h>
 #include <SenIdentityProvider.h>
 #include "senlogger.h"
 #include <SenXmlConstants.h>
@@ -98,7 +98,6 @@
     // Init member variables
     iClientServerInterval = 0;
     iValidUntil = Time::NullTTime();
-    iMaxTime = Time::NullTTime();;
     iFrameworkId = iFramework.Id().AllocL();
     }
 
@@ -1554,12 +1553,9 @@
         }
     else
         {
-        //const TTime& MAX_TIME = Time::MaxTTime();
-        //return MAX_TIME; // if no expiration was set, the session is
+        const TTime& MAX_TIME = Time::MaxTTime();
+        return MAX_TIME; // if no expiration was set, the session is
                          // valid forever(!)
-         iMaxTime = Time::MaxTTime();
-         return iMaxTime;             
-                         
         }
     }