Discuss this help topic in SecureBlackbox Forum
TElSessionPool is needed to store information about sessions established by TElSSLServer instances.
Description
TElSessionPool is used to store information about
secure sessions established by
TElSSLServer instance.
It is needed to increase the speed of re-connections by the same client
(using the same session parameters). Re-establishing the old session is
much faster than creating new session.
As the new secure session is established by server,
its parameters are added to the TElSessionPool. When the same client tries
to connect again using Resume or Join method, the server searches for
session parameters in TElSessionPool and restores the session.
The client may re-establish the session that had not
been closed yet. So, the client doesn't have to wait for already opened session to close
to make new secure connections to server with same session parameters.
Set the
Timeout property to define
the session lifetime. If the session was not re-established for this period
of time (in milliseconds), it will be deleted from the TElSessionPool. Use
the
Interval property
to set the timer tick interval. That means, that information
about sessions will be refreshed every
Interval milliseconds.
Set the
MaxCount property
to specify, how much sessions the TElSessionPool should remember. If the session
count exceeds the limit, the oldest sessions will be deleted.
.NET:
To use this class in the development and distribution of your software projects, you need to purchase one of the following licenses:
SecureBlackbox Professional