Enhanced PowerScript features
The PowerBuilder Application
object provides the following new functions to help PowerServer
installable cloud apps get cookies and Web API URL:
-
GetHttpRequestHeader
— Gets the HTTP request header, such as cookie. -
GetHttpRequestHeaders
— Gets all of the HTTP request headers’ information. -
GetPowerServerURL
— Gets the root URL of the PowerServer Web APIs.
The following database parameters have been added or enhanced
for the PowerServer installable cloud apps:
-
LongConnection:
This is a new DBParm added for PowerServer installable cloud apps.
It enables the installable cloud app to have the same long running
database connection as the PowerBuilder native C/S app. Take the
local temp table as an example, LongConnection=1 makes the same
database connection to be used for the whole user session,
therefore, the local temp table will stay active all the time and
the same temp table will be used during the whole user session.
For more, refer to DB
connection. -
ProcedureInTransaction:
its default value is changed from 0 (Do not start the transaction)
to 1 (Start the transaction). -
NCharBind: NCharBind is supported by the installable cloud
app when connecting with the Oracle database.