You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Craig R. McClanahan" <Cr...@eng.sun.com> on 2001/03/02 20:48:03 UTC

Re: Null session

"Mead, David W." wrote:

> Since we upgraded to Tomcat 3.2 in December, we have been seeing an
> occational null session returned from req.getSession(false);
> We have seen this on slower systems < 300Mhz running Windows 95.  We have
> not seen it on our faster hardware which is running NT, so we're not sure if
> its related to the speed of the system or the OS.
>

It is entirely legal for req.getSession(false) to return null if the original
request is not part of a session.  Are you sure that it always is?

>
> Has anyone else seen this?  Know of any workarounds?
>
> Thanks,
>
> David Mead
>

Craig McClanahan