wood burning stoves
The moose likes Servlets and the fly likes Cookie of Domain lost? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Cookie of Domain lost?" Watch "Cookie of Domain lost?" New topic

Cookie of Domain lost?

minty zzz

Joined: Jul 07, 2010
Posts: 1
Hi Experts,

We have a scenario whereby we have 2 portals of different domains and 1 portal is the leading portal that has a login page where when user logins, submits credentials to the 1st and 2nd portal and sign on simulatenously seamlessly. This is done by creating a java servlet in the 1st portal that forwards the user details to the 2nd portal. 2nd portal returns the cookie to the servlet which passes it back to the browser.

We noticed the cookie was passed back to the servlet but user is not logged into 2nd portal. On investigation, we noticed the cookie's domain was missing when it reached the servlet. Is the domain auto removed if it enters another domain?

I agree. Here's the link: http://aspose.com/file-tools
subject: Cookie of Domain lost?
It's not a secret anymore!