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

1 http.connection.getCookiePath

    <cookie /> !

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.

<xsql-script name='http_connection_cookie_path'>
        <set name='m_cookie'>
            <http.connection.addCookie name='cookie_test' value='value_test' path='path_test'>
                <http.connection url='' />

                <m_cookie />