You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rinku Randhawa <rr...@compunetix.com> on 2001/10/24 20:46:25 UTC

tomcat session problem

Hi there,

I am using jakarta-tomcat - 3.2.3 server to run my project. I am finding
that session tracking, when more than one browser window is opened at one
time, doesn't come out to be correct. I am using its inbuilt session object
and the cookies are enabled in my browser. When more than one sessions are
running then the page presented is unpredictable.Sometimes correct page
displays and sometimes totally diferent page gets displayed. It works great
except if I have 2 browsers sessions up - then it gets confused and losses
track of which is the current session.

Are there any issues with the Tomcat server regarding session tracking?

Thanks in advance,
-Rinku



Re: tomcat session problem

Posted by "Craig R. McClanahan" <cr...@apache.org>.
It's more likely to be a problem with your application, or a
misunderstanding of how browsers handle cookies.

In general, cookies are *not* specific to a particular browser window.
Therefore, all windows that the client has open are part of the same
session.  This is the way Netscape (at least 4.7.x) always runs -- but in
IIS it's configurable.  But the bottom line is that you cannot expect each
window to be running in its own session.

Craig


On Wed, 24 Oct 2001, Rinku Randhawa wrote:

> Date: Wed, 24 Oct 2001 14:46:25 -0400
> From: Rinku Randhawa <rr...@compunetix.com>
> Reply-To: tomcat-user@jakarta.apache.org
> To: tomcat-user@jakarta.apache.org
> Subject: tomcat session problem
>
> Hi there,
>
> I am using jakarta-tomcat - 3.2.3 server to run my project. I am finding
> that session tracking, when more than one browser window is opened at one
> time, doesn't come out to be correct. I am using its inbuilt session object
> and the cookies are enabled in my browser. When more than one sessions are
> running then the page presented is unpredictable.Sometimes correct page
> displays and sometimes totally diferent page gets displayed. It works great
> except if I have 2 browsers sessions up - then it gets confused and losses
> track of which is the current session.
>
> Are there any issues with the Tomcat server regarding session tracking?
>
> Thanks in advance,
> -Rinku
>
>
>