Skip to main content

Glassfish 4.0 multiple apps not using the same cookie domain

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
dmclarke
Offline
Joined: 2014-08-06
Points: 0

I have several apps installed on test.myserver.com
TEST
CRP

they are accessed by launcher.myserver.com
and launcher creates a cookie with a domain of .myserver.com

for TEST the cookie name is of course TEST
and CRP is, you guessed it, CRP

The problem is that the TEST app can see its cookie, but CRP can not
I can confirm that both cookies are created and are created with the .myserver.com domain

1. How is this even possible?
2. How do I fix it so that CRP app can see its cookie ?