You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Loïc Lefèvre <ll...@fivia.com> on 2001/08/02 14:29:44 UTC

:)

Hi
I've got one big problem:
Story:

I'm developping an application based on servlet.
On the login screen, I enter my user name and my password.
On the server, I create a session to store these parameters
THEN I redirect:

       respons.sendRedirect("/start/adfront.html");

Apache receive the request and contact route the request to
Tomcat. The servlet detects the request of this page and then
try to get back the session parameters stored with:

       HttpSession session = request.getSession(false);

The parameter must NOT be true (thus no session is created if this
session doesn't exist).

My simple question is:

       WHY DOESN'T IT WORK UNDER TOMCAT?
	 NOTE: IT WORKS PERFECTLY UNDER APACHE JSERV!

As you can see, I'm VERY frustrated with this!
And because I'm surely not the only one who has this problem,
I, WE need a respons...

2nd note: I've passed about 4 days to search solution about this problem.
          I use cookies... no ";jsessionid=" is detected nor managed by
Apache.
          I get two cookies (Set-Cookie + Set-Cookie2 header fields when the
login
          success)
          I don't want to program some more code to correct this (as I've
done
          to support mod_rewrite + tomcat, GRRRRRRRRRRRRRRRRRR

So if you know about this (thanks to Michael Weissenbacher) could you for me
but for
the others too tell us what append.

Many thanks in advance and Many best regards...

Loïc-Lefèvre-bug-tracker

note: sorry for the subjet ;)