Depending on which Struts features you make use of, Struts may create a session
on your behalf. In particular, if the <controller> tag in struts-config.xml has
its "locale" attribute set to "true", then a session may be created. Also, if
the <html:html> tag in a JSP has its "locale" attribute set to "true", then a
session may be created.

Of course, by default any JSP page that handles a request may also create a
session. You have to use <%@ page session="false" %> to disable that feature.

Quoting Eric Jain <[EMAIL PROTECTED]>:

> > Eric, as far as I know, there has been no changes in this way.
> > Besides, Struts doesn't create sessions, but your servlet engine does.
> > Struts recognizes if you deactivated cookies in your browser, in this
> > case the session id is attachted to the URL.
> 
> 
> All I know is that no sessions where created until I upgraded to RC1...
> And certainly I don't create any myself.
> 
> Of course once there is a session the observed behavior is correct; the
> session ID must be included in URLs in the first requested page, as it
> is not yet known at that point whether or not the client supports
> cookies.
> 
> 
> --
> Eric Jain
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

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

Reply via email to