option to set the cookie domain as required