10-26-2018, 10:01 AM
Hallo,
I have an IntraWeb SA application. If the user closes a session I want to get the count of the remaining sessions.
I call "gSessions.getCount" in TIWServerController.IWServerControllerBaseCloseSession method.
Then my application hangs.
How could I get the number of the remaining sessions at this point?
Best regards
I have an IntraWeb SA application. If the user closes a session I want to get the count of the remaining sessions.
I call "gSessions.getCount" in TIWServerController.IWServerControllerBaseCloseSession method.
Then my application hangs.
Code:
procedure TIWServerController.IWServerControllerBaseCloseSession(aSession: TIWApplication);
var
nCount : integer;
begin
try
nCount := gSessions.getCount;
except
end;
end;
How could I get the number of the remaining sessions at this point?
Best regards