tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn Nielsen <gl...@voyager.apg.more.net>
Subject Re: what starts session?
Date Thu, 25 Jan 2001 01:36:03 GMT
The sessionid is normally maintained using the JSESSIONID cookie.
If you open a new window in you browser it inherits the cookies.
Both windows then send the JSESSIONID cookie back to the server,
hence both have the same session id.

Regards,

Glenn

Robert Karen wrote:
> 
> When I open a window in netscape and run
> 2 simultaneous sessions (I use that word
> loosely - sessions), my tag that calls :
>   private String getSessionId() {
>     return pageContext.getSession().getId();
>   }
> 
> returns the same sessionid. Only if I open session
> from a new address does it give me a different session
> id. Am I making a mistake? Thanks!
> 
> Robert Karen
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - Buy the things you want at great prices.
> http://auctions.yahoo.com/

-- 
----------------------------------------------------------------------
Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
MOREnet System Programming               |  * if iz ina coment.      |
Missouri Research and Education Network  |  */                       |
----------------------------------------------------------------------

Mime
View raw message