Build a cookie with name and value
Cookie SameSite flag
Set cookie domain
Set cookie expire time. It overrides maxAge.
Set cookie httpOnly flag. This cookie will not be accessible from javascript.
Invalidate cookie. It will be deleted from browser on output.setCookie() request.
Set cookie max age. It overrides expire.
Set cookie path
Set cookie SameSite flag
Set cookie secure flag. This cookie will be sent only thru https.
A cookie. Use Cookie("key", "value") to create a cookie. You can chain methods.