Chapter number It is vitally important that you (Make web site)
Chapter number It is vitally important that you don’t hog a lock on the server object as this can deny server access to all other users The lock will stall if another script currently has a lock extant on this project. The method will then return when that lock is relinquished. Warnings: . Locking the server object can lead to severe performance degradation. While it is locked, any lock requests made by other scripts will stall pending the lock being relinquished with an unlock() method call. . You can render your server virtually useless by over-locking the server object. You should aim to relinquish any locks as soon as you possibly can. Ideally you should seek to avoid locking the server object if at all possible. See also: project.lock() server.port (Property) The port number that the server listens on for incoming requests. JavaScript 1.1 Number primitive Availability: Netscape Enterprise Server version 2.0 Property/method value type: JavaScript syntax: NES server.port This value is normally port number 80, but ports 81, 8080 or 8081 are also commonly used. It can be any port number you like although there are many reserved ports for other services on the host. On a Unix system, there is an /etc/servicesfile that will enumerate the ports that are likely to be reserved for other non web-server purposes. You may also have difficulty in using ports below number 1024 unless you have access to the system administrator account. server.protocol (Property) The protocol supported by the server is available from this property. JavaScript 1.1 String primitive Availability: Netscape Enterprise Server version 2.0 Property/method value type: JavaScript syntax: NES server.protocol Typical values for this property will be “http:” or “https:”. The latter will be used if the server is a secure server providing e-commerce support for example. 1920
Note: In case you are looking for affordable webhost to host and run your web application check Vision http web server services