Gambas Documentation - /comp/gb.web/application

# Application (gb.web)

Returns information about the CGI application.

This class reimplements Application in gb.
This class is static.

Static properties

Returns an array containing the arguments passed to the program by the shell.
Args
Set this property to TRUE to make the current application a daemon.
Daemon
Returns the application directory.
Dir
Returns a virtual collection of strings containing the process environment variables.
Env
Returns the system pid (process identifier) of your program. This returns the same value as the property named Id.
Handle
Returns the current host.
Host
Returns the system pid (process identifier) of your program. This returns the same value as the property named Handle.
Id
Return or set the path of the file where the standard error output will be redirected.
LogFile
Return the application name, as defined in the IDE project properties dialog.
Name
Returns the application path, i.e. the directory where it resides.
Path
Return the port specified in the URL request.
Port
Return or set the current process priority.
Priority
Returns or sets the protocol used by the HTTP request.
Protocol
Returns the request submitted to the CGI application.
Request
Returns the root path of all requests submitted to the CGI application.
Root
Return the startup class object.
Startup
Returns the title of the application being executed.
Title
Returns the program version, as defined in the IDE project properties dialog.
Version