Discuss this help topic in SecureBlackbox Forum

TElHTTPSServer.OnSessionDestroy

TElHTTPSServer     See also     


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


This event is fired when a session is about to be destroyed.

Declaration

[C#]
    event TSBHTTPSessionEvent OnSessionDestroy;
    delegate void TSBHTTPSessionEvent(Object Sender, TElHTTPServerRequestParams RequestInfo, TElHTTPSession Session);

[VB.NET]
    Event OnSessionDestroy As TSBHTTPSessionEvent
    Delegate Sub TSBHTTPSessionEvent(ByVal Sender As Object, ByVal RequestInfo As TElHTTPServerRequestParams, ByVal Session As TElHTTPSession)

[Pascal]
    property OnSessionDestroy : TSBHTTPSessionEvent;
    TSBHTTPSessionEvent = procedure(Sender : TObject; RequestInfo : TElHTTPServerRequestParams; Session : TElHTTPSession) of object;

[C++]
    void get_OnSessionDestroy(TSBHTTPSessionEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnSessionDestroy(TSBHTTPSessionEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBHTTPSessionEvent)(void * _ObjectData, TObjectHandle Sender, TElHTTPServerRequestParamsHandle RequestInfo, TElHTTPSessionHandle Session);

[PHP]
    TSBHTTPSessionEvent|callable|NULL get_OnSessionDestroy()
    void set_OnSessionDestroy(TSBHTTPSessionEvent|callable|NULL $Value)
    callable TSBHTTPSessionEvent(TObject $Sender, TElHTTPServerRequestParams $RequestInfo, TElHTTPSession $Session)

[Java]
    TSBHTTPSessionEvent getOnSessionDestroy();
    void setOnSessionDestroy(TSBHTTPSessionEvent Value);
    TSBHTTPSessionEvent.Callback OnSessionDestroy = new TSBHTTPSessionEvent.Callback() {
        public void TSBHTTPSessionEventCallback(TObject Sender, TElHTTPServerRequestParams RequestInfo, TElHTTPSession Session) {
            //...
        }
    }

Parameters

  • RequestInfo - HTTP request parameters.
  • Session - the session that is going to be destroyed.

Description

This event is fired by the OAuth 2.0 server before a session is going to be destroyed.

See also:     OnSessionCreate     OnSessionUpdate     SessionManager    

Discuss this help topic in SecureBlackbox Forum