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 fro
> >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
>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
3 matches
Mail list logo