Setting cookies for a different domain.
843840Nov 15 2002 — edited Apr 28 2003I am having trouble setting a cookie in my servlet which is valid in a different domain. I am trying to do an SSO/proxy thing where my servlet connects to the web server on behalf of the user, then transfers the cookies to the web client, and sends a redirect to bring them into the external app.
However, any time I set the cookie name to be different than the current domain name, the browser seems to disregard. Are there any options here? I have tried using .local as my domain name (this is all internal) and that didn't work.