You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Mathan Karthik <ma...@manageengine.com> on 2011/07/15 13:10:28 UTC

How can i change JSESSIONIDSSO cookie name?

Hi Guys,

I have JSESSIONIDSSO cookie related problem. 

Currently I'm running two web applications in the same machine, but using two different tomcat servers. Both the applications has the same context path, but port numbers are different. 

I've enabled single sign on feature in in one of the tomcat's application. It is using JSESSIONIDSSO cookie for this feature. 


If i logged into one of the application, another one get logged out. It happens due to same JSESSIONIDSSO cookie name. To avoid this issue, i want to change JSESSIONIDSSO cookie name in one of the application. So i can avoid this name conflict.

I know, i can change JSESSIONID name. Is it possible to change JSESSIONIDSSO name? Any other way to solve this problem?


Regards,
Mathan Karthik R

Re: How can i change JSESSIONIDSSO cookie name?

Posted by Mathan Karthik <ma...@manageengine.com>.
Hi Marks and Konstantin Kolinko

Thanks for the info. I'll contact users@tomcat.apache.org for more details.

Regards,
Mathan Karthik R



---- On Fri, 15 Jul 2011 19:41:29 +0530 Mark Thomas &lt;markt@apache.org&gt; wrote ---- 


On 15/07/2011 14:12, Mathan Karthik wrote: 
&gt; Hi Konstantin Kolinko, 
&gt; 
&gt; If i change the context path of one of the application, It will work. But unfortunately, i can't change. Both the applications are running in same context path, but in different ports. 
&gt; 
&gt; 
&gt; Why i can't change JSESSIONIDSSO cookie name ? Is it a bug? 
 
To repeat: 
 
"If you have further questions - ask them on users@ list. They are 
offtopic on dev@" 
 
This belongs on the users list. 
 
Mark 
 
 
 
--------------------------------------------------------------------- 
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org 
For additional commands, e-mail: dev-help@tomcat.apache.org 
 


Re: How can i change JSESSIONIDSSO cookie name?

Posted by Mark Thomas <ma...@apache.org>.
On 15/07/2011 14:12, Mathan Karthik wrote:
> Hi Konstantin Kolinko,
> 
> If i change the context path of one of the application, It will work. But unfortunately, i can't change. Both the applications are running in same context path, but in different ports. 
> 
> 
> Why i can't change JSESSIONIDSSO cookie name ? Is it a bug?

To repeat:

"If you have further questions - ask them on users@ list. They are
offtopic on dev@"

This belongs on the users list.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: How can i change JSESSIONIDSSO cookie name?

Posted by Mathan Karthik <ma...@manageengine.com>.
Hi Konstantin Kolinko,

If i change the context path of one of the application, It will work. But unfortunately, i can't change. Both the applications are running in same context path, but in different ports. 


Why i can't change JSESSIONIDSSO cookie name ? Is it a bug? 


Regards,
Mathan Karthik R
ZOHO Development Center(India) Pvt Ltd


---- On Fri, 15 Jul 2011 16:53:13 +0530 Konstantin Kolinko&lt;knst.kolinko@gmail.com&gt; wrote ---- 


2011/7/15 Mathan Karthik &lt;mathankarthik.r@manageengine.com&gt;: 
&gt; Hi Guys, 
&gt; 
&gt; I have JSESSIONIDSSO cookie related problem. 
&gt; 
&gt; Currently I'm running two web applications in the same machine, but using two different tomcat servers. Both the applications has the same context path, but port numbers are different. 
&gt; 
&gt; I've enabled single sign on feature in in one of the tomcat's application. It is using JSESSIONIDSSO cookie for this feature. 
&gt; 
&gt; 
&gt; If i logged into one of the application, another one get logged out. It happens due to same JSESSIONIDSSO cookie name. To avoid this issue, i want to change JSESSIONIDSSO cookie name in one of the application. So i can avoid this name conflict. 
&gt; 
&gt; I know, i can change JSESSIONID name. Is it possible to change JSESSIONIDSSO name? Any other way to solve this problem? 
&gt; 
 
1. Install Tomcat 7. 
2. Read documentation: Configuration reference for Context element 
3. Configure your webapp. 
4. If you have further questions - ask them on users@ list. They are 
offtopic on dev@. 
 
--------------------------------------------------------------------- 
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org 
For additional commands, e-mail: dev-help@tomcat.apache.org 
 


Re: How can i change JSESSIONIDSSO cookie name?

Posted by Konstantin Kolinko <kn...@gmail.com>.
2011/7/15 Mathan Karthik <ma...@manageengine.com>:
> Hi Guys,
>
> I have JSESSIONIDSSO cookie related problem.
>
> Currently I'm running two web applications in the same machine, but using two different tomcat servers. Both the applications has the same context path, but port numbers are different.
>
> I've enabled single sign on feature in in one of the tomcat's application. It is using JSESSIONIDSSO cookie for this feature.
>
>
> If i logged into one of the application, another one get logged out. It happens due to same JSESSIONIDSSO cookie name. To avoid this issue, i want to change JSESSIONIDSSO cookie name in one of the application. So i can avoid this name conflict.
>
> I know, i can change JSESSIONID name. Is it possible to change JSESSIONIDSSO name? Any other way to solve this problem?
>

1. Install Tomcat 7.
2. Read documentation: Configuration reference for Context element
3. Configure your webapp.
4. If you have further questions - ask them on users@ list.  They are
offtopic on dev@.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org