tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rinku Randhawa" <rrandh...@compunetix.com>
Subject Re: tomcat session issue
Date Fri, 26 Oct 2001 16:01:16 GMT
Hi,

Limiting the sessions to one browser means I start a session in it and click
on different jsp links to go to different pages, but I Do NOT open another
window for any page. So, like this I have two sessions running at one time
by logging into my program in two separate IE 5.0 windows. Which means, I
open a browser, log in ones, and the session starts and then I open another
browser and login and start another session.

What I find is, when the 2 sessions are running in those 2 windows and when
I click to different pages to open them in their respective windows then
somehow the session value changes and start giving me interchanged pages or
wrong session values.

This is not happening in my local environment which means in the browser of
the PC that has tomcat installed in it, but happens when I login into this
website through internet connection from somewhere else and start sessions.

I would really appreciate the suggestions

Thanks
Rinku



----- Original Message -----
From: <Conor.Power@infomediarycorp.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Thursday, October 25, 2001 9:57 PM
Subject: RE: tomcat session issue


> If you have two browser windows open they both use the same session in the
> servlet engine.
>
> If you use session state to determine navigation etc. then you would get
> unpredictable results.
>
> Conor.
>
> -----Original Message-----
> From: Larry Isaacs [mailto:Larry.Isaacs@sas.com]
> Sent: Thursday, October 25, 2001 5:06 AM
> To: 'tomcat-user@jakarta.apache.org'
> Subject: RE: tomcat session issue
>
>
> I'm not aware of any session bugs in Tomcat 3.2.3 that would
> explain this.  It is more likely to be some sort of user
> error.  Can't tell if browser caching would be involvled.
> Perhaps you could post some simplified code that demonstrates
> the problem.
>
> Larry
>
> > -----Original Message-----
> > From: Rinku Randhawa [mailto:rrandhawa@compunetix.com]
> > Sent: Wednesday, October 24, 2001 9:51 AM
> > To: tomcat-user@jakarta.apache.org
> > Subject: tomcat session issue
> >
> >
> > 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
> >


Mime
View raw message