3 Replies Latest reply on Aug 16, 2011 5:38 AM by popty oul emmou

    session cookie name

    Giancarlo Rosso Newbie

      Hi everybody, I was looking for a way to change session cookie name JSESSIONID. Digging through the docs I could find a lot of questions, but not a real answer.

      As far as I can see, on Tomcat 6 onward is possible to change sessionid name from JSESSIONID to whatever with:

      Dorg.apache.catalina.SESSION_COOKIE_NAME=XXXSESSIONID
      Dorg.apache.catalina.SESSION_PARAMETER_NAME=xxxsessionid

      And changing worker accordingly:

      worker.server.session_cookie=XXXSESSIONID

      On JBoss 5 I couldn't manage to make it work, and looking at jira looks like there's still something missing. Am I wrong?

      Thanks.

       

      Env: JBoss 5  on JDK 1.6 and Httpd 2.2, RH Linux 5.