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

Reply via email to