Skip to content

TFPWebModule

Complete web module with published properties

Declaration

Source position: fpweb.pp line 163

type

  TFPWebModule = class(TCustomFPWebModule)
  published
    property Actions;
    property ActionVar;
    property BeforeRequest;
    property OnRequest;
    property AfterResponse;
    property OnGetAction;
    property DefActionWhenUnknown;
    property CreateSession;
    property Session;
    property Kind;
    property OnNewSession;
    property OnSessionExpired;
    property AfterInitModule;
    property CORS;
  end;

Description

TFPWebModule is the complete implementation of a web module that publishes all properties from TCustomFPWebModule. This class is intended for use in visual design environments and provides access to all web module functionality through published properties.

Properties

Member Visibility Description
Actions read only published Collection of web actions for this module
ActionVar read only published Name of the request parameter used to identify actions
AfterInitModule read only published Event called after module initialization
AfterResponse read only published Event called after response processing
BeforeRequest read only published Event called before request processing
CORS read only published Cross-Origin Resource Sharing configuration
CreateSession read only published Whether to automatically create sessions
DefActionWhenUnknown read only published Whether to use the default action when no specific action is found
Kind read only published The module kind
Session read only published The current session object
See all Properties

Events

Member Visibility Description
OnGetAction read only published Event called to determine which action to execute
OnNewSession read only published Event called when a new session is created
OnRequest read only published Event called for request processing
OnSessionExpired read only published Event called when a session expires
See all Events

See also

Name Description
TCustomFPWebModule Base class for web modules with action and template support