Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get active sessions list IW15
#1
I recently upgraded to IW15.2.65

What is the proper way to get a list of the active sessions?

In IW14.x the following code was OK, but the GSession is not the same in IW15

Code:
  LSessions:=GSessions.LockList;
  try
    for i := 0 to (LSessions.Count-1) do
      begin
        LSession:=LSessions[i];
        LSession.Lock;
        try
          Result := Result + '|' + TIWUserSession(LSession.Data).gSessionID;
        finally
          LSession.Unlock;
          LSession:=nil;
        end;
      end;
  finally
    GSessions.UnLockList(LSessions);
  end;
Reply
#2
Im sorry I found the answer i the demos
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)