RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractWebModuleFactory.CreateMode Property

Indicates when the factory creates instances of its Web module.

Pascal
property CreateMode: TWebModuleCreateMode;
C++
__property TWebModuleCreateMode CreateMode;

Read CreateMode to determine whether the factory creates its Web module for every request message (crAlways), or when the WebSnap application specifically needs the Web module for the current request (crOnDemand).

Note: When the Web module factory creates the Web application module, CreateMode is always crAlways. The Web application module is always required because it contains the components that dispatch HTTP messages. For Web module factories that create any other Web modules in the application, CreateMode reflects a flag passed to the constructor.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!