I am running two webapps on Apache Tomcat/4.1.12, on Win2000, port 8080.
One is called "partners" the other "buildings."
I can reach partners through URL:
"http://mymachine.ny.mycompany.com:8080/partners";,
buildings through URL: "http://mymachine.ny.mycompany.com:8080/buildings";.

"Partners" creates a cookie:
...
Cookie aCookie = new Cookie( MY_COOKIE_KEY, aToken.toString() );
aCookie.setPath( "/" );                              // deliver to all
directories not just issuer.
aCookie.setSecure( false );
aCookie.setMaxAge( -1 );                        // "per-session" cookie,
not stored on disk
theResponse.addCookie( aCookie );
...

"Buildings" looks for cookie, and cannot get it in Tomcat.  However,
it can in WebSphere 4.0.

Is the cookie set wrong, or is WebSphere not supposed to be delivering it
to the other app?

Thanks,
Joel




This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.


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

Reply via email to