Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Servlet Interest »

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

Jose Rubio

2003-11-24

Replies:

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" <mepstein@(protected)>
To: <SERVLET-INTEREST@(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)
> mepstein@(protected)
>
>
___________________________________________________________________________
> To unsubscribe, send email to listserv@(protected)
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 listserv@(protected)
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


©2008 junlu.com - Jax Systems, LLC, U.S.A.