Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Setting cookies for a different domain.

843840Nov 15 2002 — edited Apr 28 2003
I 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 26 2003
Added on Nov 15 2002
5 comments
241 views