Hi Byju,
i had played with this in Tomcat and got similar results.
i opened multiple browser windows without acknowledging the session.
after 4 windows , the browser started to send the cookie info to the
server( i cant explain this behavior. )
what i suggest is get the client to acknowledge the session joining before
doing some other processing on server side.
Manu
>Hi,
>
>Tomcat is creating 2 different sessions when another browser
>window is opened from a main window. For instance, i have an
>application, in which the first jsp page sends a request to a servlet
>which inturn places a session object using
>request.getSession().putValue("name1","value1");
>
>The servlet then dispatches the request to another jsp page, which
>opens another jsp page in a new dependent window with the js call,
>
>window.open("/sqlplus/ShowScript.jsp",'wmSelectBaseClass','depe
>ndent=yes,width=700,height=380,left=210,top=240');
>
>In ShowScript.jsp window, a new session is created thereby it is
>not able to get access to name1 session object stored in the
>original session.
>
>I didn't find any such problems when using jswdk. As also it is not
>related to browser as i tested it in both IE and Netscape.
>
>Could anyone please help me out to ensure only one session is
>created for all browser windows opened from the main window.
>
>With Best Regards,
>
>Byju P.Nair
>Software Engineer,
>Coas India,174,Road No. 72,
>Prasashan Nagar,Jubilee Hills,
>Hyderabad, India
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com