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

1 http.connection.getCookieValue

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

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

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

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