RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomWebAppComponents.InitModules Method

Initializes all the currently active Web modules.

Pascal
procedure InitModules; override;
C++
virtual __fastcall InitModules();

InitModules is called to initialize the currently active Web modules when the WebSnap application first sets up the Web context for a new request. It iterates over all the active Web modules that the WebModules property lists, calling the InitModule method to initialize each one. It then checks whether the session for the request is new (rather than a continuation of the session from a previous request), and if so, generates an OnStartSession event on the sessions service. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!