Cookie Test

Domain: scripts.cmbuckley.co.uk

Received no cookies.

Set cookie = (alphanumeric or _-; restricted character set compared to spec)

Set cookie on:

SameSite: (behaves like Lax in most browsers, but see exceptions)

Will result in the following cookie:

Try setting cookies on the main domain, either explicitly, with leading dot, or with domain unspecified. Then try visiting subdomains (e.g. a.scripts.cmbuckley.co.uk, b.scripts.cmbuckley.co.uk, insecure.scripts.cmbuckley.co.uk) and see which cookies are sent.

Originally created for this Stack Overflow question. View the source here.