Discuss this help topic in SecureBlackbox Forum

TElSSLServer.OnSessionReused

TElSSLServer     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


This event is fired when a session stored in the session pool has been reused.

Declaration

[C#]
    event TSBServerSessionReusedEvent OnSessionReused;
    delegate void TSBServerSessionReusedEvent(Object Sender, byte[] SessionID, Object SessionInfo);

[VB.NET]
    Event OnSessionReused As TSBServerSessionReusedEvent
    Delegate Sub TSBServerSessionReusedEvent(ByVal Sender As Object, ByVal SessionID As Byte(), ByVal SessionInfo As Object)

[Pascal]
    property OnSessionReused: TSBServerSessionReusedEvent;
    TSBServerSessionReusedEvent = procedure(Sender: TObject; const SessionID: ByteArray; SessionInfo: TObject) of object;

[C++]
    void get_OnSessionReused(TSBServerSessionReusedEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnSessionReused(TSBServerSessionReusedEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBServerSessionReusedEvent)(void * _ObjectData, TObjectHandle Sender, const uint8_t pSessionID[], int32_t szSessionID, TObjectHandle SessionInfo);

[PHP]
    TSBServerSessionReusedEvent|callable|NULL get_OnSessionReused()
    void set_OnSessionReused(TSBServerSessionReusedEvent|callable|NULL $Value)
    callable TSBServerSessionReusedEvent(TObject $Sender, string $SessionID, TObject $SessionInfo)

[Java]
    TSBServerSessionReusedEvent getOnSessionReused();
    void setOnSessionReused(TSBServerSessionReusedEvent Value);
    TSBServerSessionReusedEvent.Callback OnSessionReused = new TSBServerSessionReusedEvent.Callback() {
        public void TSBServerSessionReusedEventCallback(TObject Sender, byte[] SessionID, TObject SessionInfo) {
            //...
        }
    }

Parameters

  • SessionID - the ID of the session that has been resumed.
  • SessionInfo - the session object.
  • pSessionID - the ID of the session that has been resumed.
  • szSessionID - the length of pcSessionID.

Description

This event is fired by TElSSLServer when a session, saved in the session pool, has been reused.

See also:     SessionPool    

Discuss this help topic in SecureBlackbox Forum