RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
HTTPApp.TWebModuleCreateMode Enumeration

TWebModuleCreateMode indicates the circumstances under which a Web module factory object should create instances of the corresponding Web module.

Pascal
TWebModuleCreateMode = (
  crOnDemand,
  crAlways
);
C++
enum TWebModuleCreateMode {
  crOnDemand,
  crAlways
};

The following table lists the possible values:

Option 
Meaning 
crOnDemand  
The Web module factory only creates instances of its Web module when the application explicitly requests that module. This flag is used for Web modules that are only needed for handling specific types of requests.  
crAlways  
The Web module factory creates instance of its Web module every time the WebSnap application handles a request message. This flag is used for Web modules that are needed for handling all requests.  

 

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