Discuss this help topic in SecureBlackbox Forum

TElHTTPSServer.OnSessionUpdate

TElHTTPSServer     See also     


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


This event is fired when a session has been updated.

Declaration

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

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

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

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

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

[Java]
    TSBHTTPSessionEvent getOnSessionUpdate();
    void setOnSessionUpdate(TSBHTTPSessionEvent Value);
    TSBHTTPSessionEvent.Callback OnSessionUpdate = 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 when a session state has been updated.

See also:     OnSessionCreate     OnSessionDestroy     SessionManager    

Discuss this help topic in SecureBlackbox Forum