Skip to content

TCustomSession.InitSession

Initializes the session from HTTP request

Declaration

Source position: httpdefs.pp line 684

public 
procedure TCustomSession.InitSession(ARequest: TRequest; 
                                    OnNewSession: TNotifyEvent; 
                                    OnExpired: TNotifyEvent);  virtual;

Description

InitSession initializes the session using data from the HTTP request. It reads session cookies and triggers the new session event handler if needed.