Discuss this help topic in SecureBlackbox Forum

TElHTTPCustomSessionManager.Remove

TElHTTPCustomSessionManager     See also     


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


Removes the desired session from the storage.

Declaration

[C#]
    TElHTTPSession Remove(int Index);
    TElHTTPSession Remove(string SessionID);
    bool Remove(TElHTTPSession Session);

[VB.NET]
    Function Remove(ByVal Index As Integer) As TElHTTPSession
    Function Remove(ByVal SessionID As String) As TElHTTPSession
    Function Remove(ByVal Session As TElHTTPSession) As Boolean

[Pascal]
    function Remove(Index : integer) : TElHTTPSession; overload; virtual;
    function Remove(const SessionID : string) : TElHTTPSession; overload; virtual;
    function Remove(Session : TElHTTPSession) : boolean; overload; virtual;

[C++]
    TElHTTPSessionHandle Remove(int32_t Index);
    TElHTTPSessionHandle Remove(const std::string &SessionID);
    bool Remove(TElHTTPSession &Session);
    bool Remove(TElHTTPSession *Session);

[PHP]
    TElHTTPSession Remove(integer $Index)
    TElHTTPSession Remove(string $SessionID)
    bool Remove(TElHTTPSession $Session)

[Java]
    TElHTTPSession remove(String SessionID);
    boolean remove(TElHTTPSession Session);
    TElHTTPSession remove(int Index);

Parameters

  • Index - the index of the item to be removed.
  • SessionID - the ID of the session to be removed.
  • Session - the session info object to be removed.

Return value

Returns either the session object removed from the storage, or true/false value on success or failure, correspondingly.

Description

Use this method to remove the desired session from the storage.

See also:     Sessions     Add     Clear    

Discuss this help topic in SecureBlackbox Forum