Logout and close all child windows

In the parent window I have several pages that can open a child windows.  When the user logs out, how do I close all of the child windows that were opened by different pages in the parent window?  I have seen many posts about closing child windows, but nothing like my case.  Since I have different pages that open child windows, I cannot use an array to keep track all the children.
Who is Participating?
enachemcConnect With a Mentor Commented:
you could add a timer in each popup to test wether the parent window is still open. If not, close itself. If you want to handle the closing from the main window, you would have to keep an array of open popups.
riskvisionAuthor Commented:
I ended up using frames and arrays to solve my problem from the topic "Keeping track of all popup windos opened across a webapplication"
All Courses

From novice to tech pro — start learning today.