Giving a URL connection through the function http.connection adds a cookie to the context of the URL connection.

<http.connection.addCookie    name='name'    value='value'    path='path'    domain='domain'>    <http_connection /> !</http.connection.addCookie>
Example

Add a cookie to the context of an URL connection. The function http.connection returns a URL connexion and with http.conection.addCookie adds a new cookie to the context of this URL connection.

Copy
<xsql-script name='http_connection_addcookie'>
<body>
</xsql-script>