Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Cookie of Domain lost?  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!