SetCookie package:HTTP

setCookieFilter fn sets the cookie acceptance filter to fn.
setCookies cookies replaces the set of cookies known to the browser to cookies. Useful when wanting to restore cookies used across browse invocations.