AFAIK, you can't define the domain (or name) of the session cookie in tomcat. That would break spec compliance.

If you do switch from domain.com and www.domain.com - that could easily explain the multiple cookie issue. Especially if you go to www.domain.com, then domain.com.

-Tim

Tomcat Newbie wrote:
Tim,

Thanks for your most informative response. Unfortunately, the two
cookies I am observing are from the same webapp.

Would it have something to do with the requests to www.mydomain.com and
mydomain.com? I see such difference for at least one of the requests for
those sessions. My app hardcodes www.mydomain.com links. I remember I had
some problems with enabling https, whereby I would loose session going back
and forth between https and http due to higher priorities elsewhere. I still
have not solved that, but remember reading something about declaring the
cookie domain in Tomcat configuration (why not webapp?).

I also forgot to mention that I have Cocoon 2.0.4 installed for the web app,
but since it had a broken JSPGenerator, I did not use it to process JSP
pages, only to direct requests for now.

Ed




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



Reply via email to