very true, didn't realize so many places referenced it, however, this gets confusing

-    public static final String SESSION_COOKIE_NAME = "JSESSIONID";
+    public static final String SESSION_COOKIE_NAME =
+        System.getProperty("org.apache.catalina.JSESSIONID", "JSESSIONID");


    /**
     * The name of the path parameter used to pass the session identifier
     * back and forth with the client.
     */
-    public static final String SESSION_PARAMETER_NAME = "jsessionid";
+    public static final String SESSION_PARAMETER_NAME =
+        System.getProperty("org.apache.catalina.jsessionid", "jsessionid");


two system properties, and the only difference is the case? lets not do that!

Filip




Mark Thomas wrote:
Filip Hanik - Dev Lists wrote:
I don't see an issue with that patch, looks good to me

http://people.apache.org/~jfclere/patches/jsessionid.patch is more complete
but as Remy pointed out it has a couple of issues.

As it happens, I am looking at this now. I'll commit something to trunk and
then propose a backport to 5/6.

I have given up on my configuration per manager idea for now.

Mark

Filip

André-John Mas wrote:
Hi,

We have recently encountered an issue where running two separate
Tomcat instances behind a single HTTPD server would cause issues with
the JSESSIONID cookie, because each is over-writing the name of the
other. Having looked in Bugzilla I found the following ticket for
Tomcat 5:

https://issues.apache.org/bugzilla/show_bug.cgi?id=42419

I provided a patch for the issue, and would like to know whether this
would be accepted?

I have also opened a separate ticket on this same issue for Tomcat 6,
to include an equivalent patch:

https://issues.apache.org/bugzilla/show_bug.cgi?id=45951

André-John

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to