Re: Multiple Sessions from the same workstation
I followed Craig's advice about disableing cookies in the context element of Tomcat's server.xml file (or the [context].xml file in Tomcat 5.0) and we now have all our URLs rewritten with the sessionID without having to disable cookies at that browser. This allows us to run multiple sessions from the same workstation successfully. Thank you Craig. -- Kurt Williams [EMAIL PROTECTED] > > >2. If URL rewriting is the only alternative, is there a way to configure > Tomcat to use URL rewriting regardless of whether >the browser allows cookies > or > not? > > Or, to answer the question that was actually asked, set > cookies="false" on the element (in > $CATALINA_HOME/conf/server.xml) that describes your webapp to disable > the use of cookies for session id transfer. > > For more information about how to configure Tomcat, start at: > > http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/index.html > > and, for this particular use case, navigate down to the > element description. > > Craig > > - > 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]
Re: Multiple Sessions from the same workstation
> >2. If URL rewriting is the only alternative, is there a way to configure > >Tomcat to use URL rewriting regardless of whether >the browser allows > >cookies or not? Or, to answer the question that was actually asked, set cookies="false" on the element (in $CATALINA_HOME/conf/server.xml) that describes your webapp to disable the use of cookies for session id transfer. For more information about how to configure Tomcat, start at: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/index.html and, for this particular use case, navigate down to the element description. Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Multiple Sessions from the same workstation
>2. If URL rewriting is the only alternative, is there a way to configure >Tomcat to use URL rewriting regardless of whether >the browser allows cookies >or not? Use apache as a http front-end and use mod_rewrite to handle the urls. This works w/o requiring cookies. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Mon 3/28/2005 11:18 PM To: user@struts.apache.org Cc: Subject: Multiple Sessions from the same workstation We would like to allow our users to have multiple sessions going from the same workstation. My first thought was to use URL rewriting to keep the sessions straight, but I can not find any way to force URL rewriting at the server/container level. It appears that the browser must disable cookies in order for URL rewriting kick in. We would prefer not to force our users to disable cookies. So my question is really two parts. 1. Is there a way to enable mulitple sessions from the same workstation that does not require using URL rewriting? 2. If URL rewriting is the only alternative, is there a way to configure Tomcat to use URL rewriting regardless of whether the browser allows cookies or not? Thank you. -- Kurt Williams [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]