Object PmaWeb (Web server)
The object creates a Web server from the PROMOTIC application, i.e. it enables the application to provide for example HTML or XML pages.
In the PmaWeb
object it is possible to create the PmaWebFolder
This object can be created in objects: PmaRoot, PmaFolder, PmaPrototype. Multiple objects of this type can be created in such objects.
This object adopts properties and methods of the PmaObject
Properties and methods:
|Port|| Number of the TCP/IP port|
|onNewRequest|| (obsolete) Is triggered on the request for each new Web page|
|Object|| General information about the object|
|Content|| Content of the object in the XML form|
|Events|| Definition of object events algorithms|
|Web|| Setting TCP/IP parameters of the PROMOTIC Web|
|Permissions|| Object permissions|
The object creates a Web server from the PROMOTIC application, i.e. it enables the application to provide for example HTML or XML pages. See Overview of the Web technology in the PROMOTIC system
and HTTPS - secured HTTP protocol
Except the objects inserted directly, also another objects (Web components) located elsewhere in the tree of Pma
objects can be registered into this object (e.g. PmaPanel
objects, etc.). These extra objects are registered into this object using the "Web server
" tab in the "PmaWeb object
" configurator. All these objects will become Web subcomponent of this object, i.e. URL address of these subcomponents will begin with the URL address of this object.
The runtime information regarding the status of the PROMOTIC Web server communication with its clients (the statistics of HTTP transmissions, the contents of the last transmissions, etc.) can be observed in the "/COMM/WebServer
" item of the INFO system.
: Object name changed: PmWeb
: Fixed bug
: Under high load the Web server stopped working (especially with setting of the http service
: "Web server type=http internal"
now supports persistent connection according to HTTP/1.1
. It means that after each transmission, the connection is NOT terminated which makes the communication faster.
: The Web server has been improved - now supports the persistent connection type (standard for HTTP/1.1
), i.e. the connection with the Web browser is not closed after each transmission. This way the transfer rate is increased and the communication load is decreased.
: The new "Web server type
" configurator can be used in order to implement new Web server type "HTTP(S) service"
. This server type allows to use more secure HTTPS protocol
: Other minor fixes are related to object.