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

1 http.connection.getCookiePath

<http.connection.getCookiePath>
    <cookie /> !
</http.connection.getCookiePath>
Example

Obtain the path of a cookie. Through http.connection.addCookie is added a cookie to the context of the URL connection established by http.connection. Later, the path is recovered through the http.connection.getCookiePath.

Copy
<xsql-script name='http_connection_cookie_path'>
    <body>
        <set name='m_cookie'>
            <http.connection.addCookie name='cookie_test' value='value_test' path='path_test'>
                <http.connection url='http://www.google.es' />
            </http.connection.addCookie>
        </set>

        <println>
            <http.connection.getCookiePath>
                <m_cookie />
            </http.connection.getCookiePath>
        </println>
    </body>
</xsql-script>