set_site_for_cookies


Description:

[ Version ( since = "2.70" ) ]
public void set_site_for_cookies (URI? site_for_cookies)

Sets site_for_cookies as the policy URL for same-site cookies for this.

It is either the URL of the top-level document or null depending on whether the registrable domain of this document's URL matches the registrable domain of its parent's/opener's URL. For the top-level document it is set to the document's URL.

See the [same-site spec](https://tools.ietf.org/html/draft-ietf-httpbis-cookie-same-site-00) for more information.

Parameters:

this

a Message

site_for_cookies

the URI for the this's site for cookies




2022 vala-language.org