Re: Sessions problem -- not creating new session with IE borwsers

Jose Rubio <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <015401c3b301$20c55b90$6401a8c0@JRUBIO2000>
I just gave it a quick try with one of my test servlets, and when using IE
6.0 I get a new Session object if I invoke the servlet from a different
browser instance.

Make sure you actually start a new browser instance. If you start a new
browser window (with Ctrl+N) or something like that you will get the same
session as the parent window.

BTW, I'm running Tomcat 4.0.1

Jose

----- Original Message -----
From: "Milt Epstein" <[email protected]>
To: <[email protected]>
Sent: Monday, November 24, 2003 3:29 PM
Subject: Re: Sessions problem -- not creating new session with IE borwsers


> On Mon, 24 Nov 2003, Mike Silvers wrote:
>
> > All,
> >
> > We need to have a condition where a new servlet is being generated
> > for each browser instance.  This is not occurring.  All browser
> > instances are using the same sessions object.  The problem is
> > occurring in a Tomcat 3.2 server and when using IE 6.0.  I would
> > like to stay away from URL rewriting if possible.  Does anyone have
> > any ides?
>
> Well, first of all, Tocmat 3.2 is *very very* old, so if you have any
> control over that whatsoever, upgrade.
>
> Although that probably won't solve your problem.
>
> My best guess is that you're running into a "feature" of IE where new
> browser instances are not considered distinct from existing ones.  I
> think most recent versions of IE have a setting where you can control
> that behavior.  But you may not have that kind of control of your app,
> where you can control such settings, depending on who your user
> community is.  And in that case I don't have an answer for you.  But
> this is not an unusual problem, so I'd search around to see what has
> been suggested in the past (e.g. this list's archives, other list's
> arcives -- like apache's tomcat-user list, www.google.com,
> groups.google.com, etc.).
>
> Milt Epstein
> Research Programmer
> Integration and Software Engineering (ISE)
> Campus Information Technologies and Educational Services (CITES)
> University of Illinois at Urbana-Champaign (UIUC)
> [email protected]
>
>
___________________________________________________________________________
> To unsubscribe, send email to [email protected] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.