From: Raphael V. <rv_...@os...> - 2005-09-09 09:18:17
|
Hi, I installed php-java-bridge_2.0.8RC2 on Apache Tomcat/5.5.9 on Windows and use it from PHP 5.0.4 on the same machine. While testing the examples I noticed some strange behavior. Scenario: JSP Url: http://localhost:8080/JavaBridge/sessionSharing.jsp PHP Url: http://localhost/JavaBridge/sessionSharing.php If the first hit goes to the PHP-Page it creates a cookie with the following information: name: JSESSIONID value: 84C9FD1F9C6AF4D81AAC24F6395DE10F host: localhost path: / If the next hit goes to the JSP it recognizes the cookie and use the same session as expected. If the first hit goes to the JSP it creates a cookie with a different path: name: JSESSIONID value: B9B7C792CB0242E808789B4DD7CD7A3A host: localhost path: /JavaBridge Now the PHP-Page don't use this cookie and create an new one with path = / and the session will not be shared. Is this a bug in JavaBridge or it is standard behavior of Tomcat? Is there any way to change it? regards, Raphael |