Giving a cookie returns the domain of the cookie inside the set of cookies for the domain of the URL connection.

1 http.connection.getCookieDomain

    <cookie /> !

Obtain the domain of a cookie. Through http.connection.addCookie is added a cookie to the context of the URL connection established by http.connection. Later the domain is recovered from http.connection.getCookieDomain.

<xsql-script name='http_connection_cookie_domain'>
        <set name='m_cookie'>
            <http.connection.addCookie name='cookie_test' value='value_test' domain='domain_test'>
                <http.connection url='' />

                <m_cookie />