struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colin Sampaleanu <co...@Bspark.com>
Subject RE: BEA Claims about Struts on Weblogic
Date Fri, 22 Sep 2000 21:31:29 GMT
Cookies can be directed at a specific path, not just the root web site. So
if you have a host myserver, and two webapps, webapp1 and webapp2, you can
have two cookies:
  host/webapp1
  host/webapp2
and they will not interfere with each other...


> -----Original Message-----
> From: Arun Thomas [mailto:athomas@ipin.com]
> Sent: September 22, 2000 5:30 PM
> To: 'struts-user@jakarta.apache.org'
> Subject: RE: BEA Claims about Struts on Weblogic
> 
> 
> This is probably not the place for the question I'm going to 
> ask, so if
> someone could
> point me to the right forum, that would be great....
> 
> If the name of the session tracking cookie must be JSESSIONID 
> according to
> the spec, 
> does this mean that each web application supporting server 
> can only support
> one application
> at a time?  Won't the cookie names conflict otherwise if you 
> have a set of
> applications which
> work with each other?  
> 
> Is there any reason for fixing the name itself, rather than 
> the means for
> specifying the name
> - wouldn't this be better placed as a configurable parameter 
> in the web.xml?
> 
> Thanks,
> -AMT
> 
> > -----Original Message-----
> > From: Rod McChesney [mailto:rodm@expressaction.com]
> > Sent: Friday, September 22, 2000 2:13 PM
> > To: struts-user@jakarta.apache.org
> > Subject: Re: BEA Claims about Struts on Weblogic
> > 
> > 
> > > RE: JSESSIONID vs WebLogicSession
> > > I don't think the specification states what to name the 
> cookie that 
> > > represents the session id. 
> > 
> > From the servlet 2.2 spec:
> > 
> > 7.1 Session Tracking Mechanisms
> > 
> > 7.1.1 URL Rewriting
> > ...
> > The session id must be encoded as a path parameter in the 
> > resulting URL
> > string. The name of the parameter must be jsessionid.
> > 
> > 7.1.2 Cookies
> > ...
> > The name of the session tracking cookie must be JSESSIONID.
> > 
> > FWIW, we've given up on WebLogic's JSP and are using Resin instead.
> > 
> > Rod
> 

Mime
View raw message