The Web Application Object

From RAD Studio
Jump to: navigation, search

Go Up to Creating Web Server Applications with Web Broker


The project that is set up for your Web application contains a global variable named Application. Application is a descendant of TWebApplication that is appropriate to the type of application you are creating. It runs in response to HTTP request messages received by the Web server.

Warning: Do not include the Forms or QForms unit in the project uses clause after the CGIApp, ApacheApp, ApacheTwoApp, or ISAPIApp unit. Forms also declares a global variable named Application, and if it appears after the CGIApp, ApacheApp, ApacheTwoApp, or ISAPIApp unit, Application will be initialized to an object of the wrong type.

See Also