There is no strict rule to whom a session id belongs.
It depends on the browser and your site.

If you have cookies disabled it's quite easy, whenever
you open a browser or a window with an url that doesn't 
contain a session a new session is created. If the url 
contains a session id for a valid session that session 
is used. (No matter if it was the same user, the same 
IP the same OS or what ever)

If you have cookies it depends on the browser if
it will use the cookie in a new window (or even in a
new browser). If the cookie is present and the session
is valid tomcat will use it (again anything else 
doesn't matter) otherwise a new sesion will be created.

> -----Original Message-----
> From: Mauro Daniel Ardolino [mailto:mauro@;altersoft.com.ar]
> Sent: Wednesday, October 30, 2002 3:38 PM
> To: Tomcat Users List
> Subject: RE: Session start
> 
> So reading your answer I think that the problem is to 
> who belongs the session id.  Does it belongs to the 
> machine that is browsing? I mean: the IP address? I 
> don't think so because in multiple text sessions of 
> the same linux machine, browsing from each the same 
> servlet, I obtain different sessions.  Does it belongs 
> to the user?  which user?  windows user?  linux user? 
> other OS users?  No, the same user on different linux 
> sessions, gets different HttpSession.  So I have to 
> think that depends on the OS.  E.g. on linux it depends 
> on the linux session.  I'd like to bypass this behavior 
> opening a session each time a user opens a browser.  I
> think I have to rescue a browser window id or something 
> like that from the HttpServletRequest.
> 

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to