tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yaman Kumar" <yam...@nous.soft.net>
Subject How to make both parent and child windows opened by javascript in browser to participate in same session.
Date Mon, 03 Jun 2002 04:28:46 GMT
Hi,

How to make parent and child browser windows (related to same application)
participate
in same session always that are opened by javascript . and application is
using TOMCAT4.x

I have stored so much information in a session of parent window and  i tried
to access          information in the child window that is opened from
parent window using javascript is becoming
null and treated in new session.

Code in templateinfo.jsp(in parent window) is below.

function show(){
	childWindow1=window.open("myapp/userinfo.jsp?name=<%
=userName%>","child1","HEIGHT="+hit+",WIDTH="+wid+",top=0,left=
	0,status=YES,scrollbars=YES");
}

some times userinfo.jsp is participating in new session but not always?

Can any throw light in it?

Many Thanks,
Yaman


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


Mime
View raw message