Hi,
I have 2 questions regarding tomcat:

1- I am wondering if it is possible to rename the JSESSIONID cookie to something else. I am interseted in renaming it <host>_<port>_JSESSIONID this way JSESSION ids generated by webservers on the same domain (domain.com) will not conflict with each other. (I have a special setup with a portal webserver which relays cookies to other webservers in the same domain)
I know this can be done with WebLogic : you can customize the name of the JSESSIONID cookie in weblogic.xml. Is it possible to do this with tomcat?

2- An alternate solution for me would be to be able to have a tomcat server accept a JSESSIONID cookie generated by another tomcat webserver.
In other words is there a way to reuse JSESSIONID cookies with tomcat. I tried this simple test case: I overwrote the HelloWorld servlet with the code I attached (I attached the java and the class in the zip file). This simply creates a session if one does not already exist and prints out info about that session. I copied the class file to 2 tomcat webservers on the same host. Then with a clean browser (cookies deleted ) I targetted the servlet on the first server which generated a JSESSIONID. Then I targetted the servlet on the second server which failed to accept that cookie and reuse to create an httpsession with the same id.
I know that WebSphere allows you to reuse JSESSIONID cookies. I think resin does too. Is there a config setting for tomcat to enable this 'reuse' feature?



Please reply to [EMAIL PROTECTED] and [EMAIL PROTECTED]

Thanks for your help,
Yassine
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to