tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rinku Randhawa" <>
Subject Re: tomcat session problem
Date Fri, 26 Oct 2001 15:53:39 GMT

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


----- Original Message -----
From: "Dmitri Colebatch" <>
To: <>
Sent: Friday, October 26, 2001 1:50 AM
Subject: Re: tomcat session problem

> On Fri, 26 Oct 2001, Dmitri Colebatch wrote:
> > On Thu, 25 Oct 2001, Rinku Randhawa wrote:
> >
> > > Thanks Ralph for the information, my question is when there are 2
> > > running on the web in the same PC (by opening 2 browsers) then it
> > > track the sessions properly and changes the value of the session when
I go
> > > to different pages even if I limit one session to one browser.
> >
> > When you say one browser what do you mean?  A session is effectively
> > to a cookie (unless you are using url re-writing, which might make more
> > sense for what you suggest), and so if you have two IE windows open, its
> > one session.  However, if you have one IE and one Netscape window open,
> > its two sessions.
> I take this back... IE it seems doesn't share cookies between multiple
> instances if they are opened as a new application - as opposed to
> Ctrl-N.  Geoff Howard pointed this out just now... sorry for the
> confusion.
> cheesr
> dim

View raw message