Server change the cookie every navigation between two application in same domaine

I have two application run i same server Glassfish with two Instances, i use SSO, and i use Apache for load-balancing.

Every thing work fine, i just notified some thing, so when client goes from App1 to App2, and the VS, every time it create a new cookie like this:

+-------+----------------------------------------+
| APP   | Cookie                                 |
+-------+----------------------------------------+-----+
| app1  | b5a1cd4befdc306f6e569d835b5e.instance2 | New |              
+-------+----------------------------------------+-----+
| app2  | b6caf890638a506216d625f7c82b.instance2 | New |                                  
+-------+----------------------------------------+-----+
| app1  | b6d1870ad8f3d044cc768b31e810.instance2 | New |                                   
+-------+----------------------------------------+-----+
| app2  | b6d84bf7b2a6fc37e3c9ffaf701b.instance2 | New |
+-------+----------------------------------------+-----+
| app2  | b6d84bf7b2a6fc37e3c9ffaf701b.instance2 |Same | because i don't change the application
+-------+----------------------------------------+-----+    
  • Why this create a new cookie every time?
  • How can fix and make it unique per application?

Thank you.

Related:


Leave a Reply