Unit 'fpHTTP' Package
[Overview][Resource strings][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TSessionHTTPModule

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

HTTP module with session support

Declaration

Source position: fphttp.pp line 142

type TSessionHTTPModule = class(TCustomHTTPModule)

public

  destructor destroy; override;

  

Destroys the session HTTP module

  procedure HandleRequest(); override;

  

Handles request with session management

  property CreateSession: Boolean; [rw]

  

Indicates if sessions should be created

  property Session: TCustomSession; [rw]

  

Current session object

  property OnNewSession: TNotifyEvent; [rw]

  

Event triggered when a new session is created

  property OnSessionExpired: TNotifyEvent; [rw]

  

Event triggered when a session expires

end;

Inheritance

TSessionHTTPModule

  

HTTP module with session support

|

TCustomHTTPModule

  

Base class for HTTP modules

|

TDataModule

|

TComponent

|

TPersistent,IUnknown,IInterfaceComponentReference

|

TObject,IFPObserved

Description

TSessionHTTPModule extends HTTP modules with session management capabilities. It automatically manages user sessions across multiple HTTP requests.


Documentation generated on: Jan 27 2026