[Server] Invalidate session after a timeout
This commit is contained in:
1 parent
f4583b830a
commit
e4ce006b06
3 files changed
+43
-1
No files matched your search
@@ -39,6 +39,7 @@ namespace ServerLib
|
||||
}
|
||||
catch (Exception)
|
||||
{ }
|
||||
CSessionControl.ResetSessionTimeout(sessionKey);
|
||||
return sessionKey;
|
||||
}
|
||||
|
||||
@@ -296,6 +297,7 @@ namespace ServerLib
|
||||
|
||||
public bool IsServerOnline()
|
||||
{
|
||||
_GetSession();
|
||||
return true;
|
||||
}
|
||||
#endregion
|
||||
|
||||
Reference in new issue
Block a user