The domain under which the cookie should be visible. If omitted, the cookie will only be visible where it was created.
The expiration date. If omitted, the cookie will only be valid during the current session.
The path under which the cookie should be visible.
Whether the cookie requires a secure connection.
Cookie attributes.