Set a cookie to be sent with accesses to certain URLs.
page-url:
Url that the
cookie should be associated with. Unprivileged applets can only set information for a
Url that is for the same web server as where the applet was loaded from.
cookie:
HttpCookie to set into the cookie cache to be sent with future HTTP requests.
Notes
Cookies set with this method may be less proof from snooping or accidental leakage as compared with ones that are set with
set-secure-http-cookie, however this procedure does not have as strict requirements about the
cookie.