Re: concept of session in J2EE
- From: Lew <noone@xxxxxxxxxxxxx>
- Date: Sun, 30 Nov 2008 13:45:00 -0500
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.
--
Lew
.
- Follow-Ups:
- Re: concept of session in J2EE
- From: Mike Schilling
- Re: concept of session in J2EE
- References:
- concept of session in J2EE
- From: vk02720
- Re: concept of session in J2EE
- From: Arne Vajhøj
- concept of session in J2EE
- Prev by Date: Re: concept of session in J2EE
- Next by Date: Re: Quirk with generics
- Previous by thread: Re: concept of session in J2EE
- Next by thread: Re: concept of session in J2EE
- Index(es):
Relevant Pages
|