Unit 'fpWeb' Package
[Overview][Resource strings][Types][Classes][Index] [#fcl]

TFPWebModule

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

Complete web module with published properties

Declaration

Source position: fpweb.pp line 159

type TFPWebModule = class(TCustomFPWebModule)

published

  property Actions: TFPWebActions;

  

Collection of web actions for this module

  property ActionVar: string;

  

Name of the request parameter used to identify actions

  property BeforeRequest: TRequestEvent;

  

Event called before request processing

  property OnRequest: TWebActionEvent;

  

Event called for request processing

  property AfterResponse: TResponseEvent;

  

Event called after response processing

  property OnGetAction: TGetActionEvent;

  

Event called to determine which action to execute

  property DefActionWhenUnknown: Boolean;

  

Whether to use the default action when no specific action is found

  property CreateSession: Boolean;

  

Whether to automatically create sessions

  property Session: TCustomSession;

  

The current session object

  property Kind: TWebModuleKind;

  

The module kind

  property OnNewSession: TNotifyEvent;

  

Event called when a new session is created

  property OnSessionExpired: TNotifyEvent;

  

Event called when a session expires

  property AfterInitModule: TInitModuleEvent;

  

Event called after module initialization

  property CORS: TCORSSupport;

  

Cross-Origin Resource Sharing configuration

end;

Inheritance

TFPWebModule

  

Complete web module with published properties

|

TCustomFPWebModule

  

Base class for web modules with action and template support

|

TSessionHTTPModule

  

HTTP module with session support

|

TCustomHTTPModule

  

Base class for HTTP modules

|

TDataModule

|

TComponent

|

TPersistent,IUnknown,IInterfaceComponentReference

|

TObject,IFPObserved

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.

See also

TCustomFPWebModule

  

Base class for web modules with action and template support


Documentation generated on: Jan 27 2026