Returns the session ID of the request.

1 http.session.getId

<http.session.getId />

Exceptions

script is not in http request mode

It is called from the command line because the request HTTP servlet does not exist.

Example

Obtain the identifier of the session.

Copy
<xsql-script name='getSessionId'>
	<body>
	    <println>
	        <http.session.getId />
	    </println>
	</body>
</xsql-script>