tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Loïc Lefèvre <llefe...@fivia.com>
Subject <center><img src="http://198.70.186.1/help.gif" onclick="alert('I need help about sessions!')" border=0></center>
Date Thu, 02 Aug 2001 12:29:44 GMT
:)

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 ;)


Mime
View raw message