You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by pascal prioux <pp...@enitab.fr> on 2001/09/03 15:01:59 UTC

LoginPage and URL rewriting

Hi,

Tomcat version: 3.2.2 (NT 4.0 SP 5)

I must use URL rewriting (Cookies version works fine)
When  i access  to a protected url  (GET
www.host.com/my_protected_url;jsessionId=my_session_id)
Tomcat redirect the browser to the login url (<form-login-page> in web.xml)
But tomcat dont' append the session Id to the login url.
So the browser , when receiving the redirection,  loose the session id and a
new session is created !!!!
A solution ???

Thanks in advance


Pascal Prioux
Ingenieur de recherche Informatique
Java/XML/C++/Linux/TCPIP
email: p-prioux@enitab.fr
          pascal.prioux@libertysurf.fr