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

1 http.connection.getCookieName

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

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

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

        <println>
                <m_cookie />
        </println>
    </body>
</xsql-script>