Announcement Announcement Module
Collapse
No announcement yet.
set cookie-domain with dm-server ? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • set cookie-domain with dm-server ?

    Hi all,

    i need to set a cross domain JSESSIONID cookie of tomcat.

    site.com
    sub1.site.com
    sub2.site.com

    should have all JSESSIONID cookie .site.com.

    tried to configure in an additional web bundle web.xml

    Code:
     <session-config>
      <cookie-domain>.site.com</cookie-domain>
     </session-config>
    That did not work on dm-server, it still created the cookie with e.g. sub1.site.com.

    Is there any possibility to set it with MANIFEST.MF or Spring annotation based?
    Found no solution yet, do i need to go the old-style manual HttpServletResponse.addCookie way?

    Any ideas?

    -Thomas

  • #2
    Hi Thomas,

    Originally posted by tkoeppen View Post
    Is there any possibility to set it with MANIFEST.MF or Spring annotation based?
    No, there is no way to set this via manifest headers or Spring annotations.

    Originally posted by tkoeppen View Post
    Found no solution yet, do i need to go the old-style manual HttpServletResponse.addCookie way?
    To be honest, I've never tried to configure a cross-domain session cookie in Tomcat, but I did run across the following two discussions and a Bugzilla entry for Tomcat 6 which may be of use:

    Please note, however, that there is currently no way to configure custom valves in the dm Server.

    If I find out any additional information, I'll let you know.

    HTH,

    Sam

    Comment

    Working...
    X