Hem sorry, I should have say more:

When the server receive the log request, a session is created (with true)
and a redirection is made to an other page, in this page, the following code
is executed:

HttpSession session = req.getSession(false);

and it return null :(

So now I can ask: WHY?

Lo�c Lef�vre

-----Message d'origine-----
De : bk [mailto:bk]De la part de Bernd Koecke
Envoy� : mercredi 1 ao�t 2001 12:41
� : [EMAIL PROTECTED]
Objet : Re: PROBLEM with...


Hi,

Lo�c Lef�vre wrote:
>
> Hi
>
> It's me againnnnnnnnnnnnnn ;)
> Now that apache and tomcat SEEMS to work together,
> I've got dome problems about SESSION.
> After being 'loged', the following code return null:
>
> HttpSession session = req.getSession(false);

Try it with the Parameter 'true'. You don't have a session by default
and with Parameter 'false' you won't get a new one.

>
> The question is : WHY?
>
> Lo�c Lef�vre

Bernd
--
Dipl.-Inform. Bernd Koecke
UNIX-Entwicklung
Schlund+Partner AG
Fon: +49-721-91374-0
E-Mail: [EMAIL PROTECTED]

Reply via email to