Returns the object stored in the session with the name of the indicated attribute.

1 http.session.getAttribute

<http.session.getAttribute name='name'/>

Exceptions

script is not in http request mode

The XSQL-Script is called from command line because the request HTTP servlet does not exist.

Example
Copy
<xsql-script name='http_connection_getAttribute'>
<body>
    <http.session.putAttribute name='dato'><string>2</string></http.session.putAttribute>
    <println>
       <http.session.getAttribute name='dato'/>
    </println>

</body>
</xsql-script>