>Is this true of all browsers?  I've observed within Netscape that the
>session remains until either session.invalidate() is called or the
>session expires.
>
>Comments?
>
>Chris

As has been discussed before, new windows in all versions of Netscape keep
the same session. IE is a different story - both IE 4 and 5 have a browser
setting (in Preferences or Internet Options) along the lines of "launch new
window in a separate process". The default setting for these browsers
should be OFF. If it happens to be set to ON, however, the new window will
not keep the old session.

I would advise against spawning new browser windows in general, for the
following reasons:

1. They are confusing for the user, at best. Most users I've seen don't
understand the concept of a "new browser window", and hence can't find a
way back to where they started. They become completely lost, and this is
known as a major Web site no-no.
2. Even for users who do understand the concept, the session issue that we
are discussing is still grounds for a user's confusion. In other words, if
a new browser window opens, does that mean that I'm "logged in" in the new
window but not the old, or vice versa, or both? Just because keeping the
same session across browser windows makes sense for us developers doesn't
necessarily means that it makes sense to users.
3. They are annoying. The real problem is that users may not know to hit
the little "x" in the upper right to close it. Once you open a new window
on the user's desktop, it will stay there forever...

There are cases where they MIGHT be useful. These are up for debate, as far
as I am concerned:

1. External links - a lot of sites do this to prevent users from leaving
their site.
2. A page that is much better for printing. For instance, a page with
printable maps and directions, or Web-based reports that the users need to
print.

Eric M. Andersen
I/T Specialist
IBM Global Services
Tel: (781) 895-2637,   Fax : (781) 895-2843, t/line : 362-2637
Internet ID:  [EMAIL PROTECTED]
Lotus Notes ID: Eric M Andersen/Waltham/IBM



-----Original Message-----
From: mattkrevs
Sent: Tuesday, February 15, 2000 8:56 PM
To: mattkrevs; JSP-INTEREST
Subject: Re: Sessions and IE 4.01


Yes. The session is sharead and remains until all browser windows for
an
application close.

-----Original Message-----
From: A mailing list about Java Server Pages specification and
reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Heske Chris
Sent: Wednesday, 16 February 2000 6:33
To: [EMAIL PROTECTED]
Subject: Sessions and IE 4.01


If you do a window.open() in javascript within IE, does the newly
opened window share the identical session of the window from which it
was opened?

Chris

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to