Re: concept of session in J2EE
- From: "Mike Schilling" <mscottschilling@xxxxxxxxxxx>
- Date: Sun, 30 Nov 2008 11:52:29 -0800
Lew wrote:
Arne Vajhøj wrote:
That is up to the browser.
Let us assume sessions are maintained via cookies not URL
rewriting because cookies are by fat the most common.
When the session is established then the browser get a session
cookie from the server.
All requests coming with that session cookie belongs to that
session.
So it is up to the browser whether it will send the same
cookie for another window or not.
If I remember correct then IE and FF act differently regarding
this.
So be very conservative about what you assume.
You are correct - I just checked with FF and the second instance
does
indeed seem to be aware of the first one's session, or perhaps the
server is aware of my IP address and somehow uses that. Regardless,
both instances seem to share the session.
On Windows, at least, multiple Firefox windows are all part of the
same OS process. Multiple IE windows are different processes. This
matches the difference in session behavior.
.
- Follow-Ups:
- Re: concept of session in J2EE
- From: Lew
- Re: concept of session in J2EE
- References:
- concept of session in J2EE
- From: vk02720
- Re: concept of session in J2EE
- From: Arne Vajhøj
- Re: concept of session in J2EE
- From: Lew
- concept of session in J2EE
- Prev by Date: Re: Splitting processor performance for multiple processes in Java
- Next by Date: Re: Splitting processor performance for multiple processes in Java
- Previous by thread: Re: concept of session in J2EE
- Next by thread: Re: concept of session in J2EE
- Index(es):
Relevant Pages
|