2001 August 8th, Craig answered: -------------------- * From: Craig R. McClanahan * Subject: Re: Why would jsessionid not appear? * Date: Wed, 08 Aug 2001 12:09:26 -0700
The jsessionid path parameter will only be added if the servlet container does not know whether your client supports cookies. How Tomcat handles this (probably typical of others): * On the first response in a session, send the session id both ways (cookie and encoding). * If the subsequent request comes back with a cookie, turn of URL rewriting for the remainder of this session. * If the subsequent request comes back without a cookie, keep on rewriting. Craig ---------- Cheers:). -Yan -----Original Message----- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: August 5, 2003 1:25 AM To: Struts Users Mailing List Subject: Re: Welcome.do;jsessionid=C36048429636E35FB1ECAA5978E23132 I think you will have to look in the struts source. I've often seen this question but never an answer. Adam L wrote: > I've seen this same issue since moving to 1.1. I'm running JBoss 3.0.7. > Other apps I have running (non struts apps, or if they are, they must be > using an earlier version) are using cookies w/o a problem. My app was > using cookies before the upgrade. I've tried so many things: > -- trying to coerce with a web-inf jetty.xml > -- setting IE to accept cookies even if they aren't P3P (there's an issue > logged in the apache bug base on this) > -- setting and resetting my jboss-web settings (which seems silly since > other apps are using cookies just fine) > -- all searches on the web tell me to do all that i've done, and basically > reference how to turn cookies OFF (not what I want!) > > Anyone have any input on this? I don't want to move back to 1.0, as I'm in > love with EL struts tags. > > Perhaps I should start a new post.. but, no.. this is the same. > > > ----- Original Message ----- > From: "Marcel Overdijk" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, August 04, 2003 2:07 AM > Subject: Welcome.do;jsessionid=C36048429636E35FB1ECAA5978E23132 > > > Hello, > > I never noticed it but when I start my application > http://localhost:8080/overdijk > <http://localhost:8080/overdijk/Welcome.do;jsessionid=C36048429636E35FB1 > ECAA5978E23132> I will be forwarded to Welcome. > > Suddenly (I didn't noticed it before) I see some session information in > my url bar: > http://localhost:8080/overdijk/Welcome.do;jsessionid=C36048429636E35FB1E > CAA5978E23132 > > When I start struts-documentation I don't see this session information. > > > Can anybody explain why this information is displayed ? > > > > Kind regards, > Marcel Overdijk > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]