There is a slim chance, but to Ed's point, if URL rewriting is off and your session is configured to transfer jsessionid only by URL rewriting (setting "cookies" to "false" in <context> but true by default), this situation will exist.
Thanks, Paul -----Original Message----- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: Friday, January 28, 2005 3:54 PM To: Eddie Bush; Struts Users Mailing List Subject: Re: New session on submit? At 2:21 PM -0600 1/28/05, Eddie Bush wrote: >What would happen in the off-chance that URL rewriting were diabled >and the browser had cookies disabled? That would be a scenario in which the server wouldn't know that the user should be associated with a session. However, if the form which is submitted is using<html:form>, then Struts should be taking care of that. Joe >On Fri, 28 Jan 2005 13:33:46 -0600, Joe Germuska <[EMAIL PROTECTED]> wrote: >> Session management is the responsibility of the servlet container. >> Are you sure that the session ID is being returned correctly? Struts >> definitely isn't doing anything to remove or invalidate the session >> for you. >> >> You can tell Struts not to put a Locale in the session by specifying >> a "false" value for the "locale" attribute of the <controller> in >> your struts-config.xml I don't believe there is any place else where >> Struts will manipulate the session besides if you specify that forms >> should be in "session" scope. >> >> But the only reason your container would make a new session is if it >> couldn't find the pre-existing one, which would usually happen if you >> were somehow failing to return a session ID back to the servlet >> container. >> >> Joe > >-- >Eddie Bush > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] -- Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu) that may be confidential, proprietary copyrighted and/or legally privileged. It is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please notify us immediately by reply e-mail and then delete it from your system. ------------------------------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]