Search code examples
jakarta-eecookiesjsessionid

What is a "host only" cookie?


While retrieving a form auth, the browser gets a JSESSIONID cookie shown as host only.

What is a host only cookie?


Solution

  • Host Only cookie means that the cookie should be handled by the browser to the server only to the same host/server that firstly sent it to the browser.

    You don't want to send this host only cookie for ad campaigns, as it might contain sensitive information.