Re: check child window is open from parent window
Friday, March 14, 2003 02:58 AM
That's an incredibly complex way of describing a problem... Lemme see if i've understood right.
You have an index.html opened in a window. Then from a link on this page you open another window with some page, which will close itself and open a new window(?) with welcome.html.
if this is the casr then you have already lost the reference to the child window from the parent window since you closed the original child that was opened. Also since you cannot track the other users on the client side that needs to be done on the server side. I don't get the logic behing not giving the welcome page to the other users. Is this a one-user at a time application?
well... i guess probably the solution you need is to keep the users in the servletcontext attribute and use this to determine whether to show the welcome screen.