germ said:
huh ?
what browsers/os are you referring to ?
Any and all of them.
all of the most popular ( ie, ff , op , ... ) current version browsers
running on windows create just one session per machine regardless of the
number of browser windows you have open - exactly the opposite to what you
just stated.
Uh no. A Session is server object which represents a "conversation" taking
place between a client and that server. Whenever a client (any client)
connects to a server that utilizes sessions, the server looks at the HTTP
request header to see if a session is referenced. If not, the server
generates a new session object and assigns a unique session ID to that
object. In addition, when the server sends down the response to the client,
the HTTP response header will include this session ID, which the client then
stores and will place into the next HTTP request header going back to that
server/domain.
Since a browser can have many windows/tabs open and each window/tab can be
getting content from completely unrelated servers/domains, sessions are not
shared across windows/tabs of a client and one browser instance can very
well be participating in several server sessions.
This simplest example of this would be to log on to two different online
banking sites using two different tabs of the same browser instance. Once
you log into to each bank site, you'll have two different and distinct
sessions going - one with each bank site. Since sessions are managed by the
server, not the client, each bank site is free to log you off after its own
pre-determined time of inactivity.
Again, sessions are not managed by the client and a client can have many
sessions going at once, but sessions are not shared across windows/tabs of a
client. This is true for all clients.
-Scott