1 Functions http.request and http.session

The functions http.request provides information of the request for servlets HTTP, obtain values of parameters, information about the address from which the petition is performed, session attributes... It is necessary to be in mode http request to use this functions. Otherwise, an exception is generated (for example if an XSQL-Script is invocated from the line of commands):

Copy
script is not in http request mode

This functions can be used from Axional Studio when exists a context HTTP servlet, the call to the XSQL-Script which contains this functions is performed with an user who has accessed the Axional Studioapplication, otherwise there is not HTTP context or session. For example, they can be used when the XSQL-Script is called from the action of a button on a form.