<p>Closing all the opened windows from a showModalDialog</p>
1 posts in topic
Flat View  Flat View

Posted By:   satheesh_kumar
Posted On:   Monday, June 3, 2002 07:37 PM

our application at certain point opened with
'n' number of jsp's and 'n' number of showModalDialog

if the session gets expires v r in requirement to
close all the windows and forward to login page.
is it possible to close all the opened windows and
dialogs from one of the showModalDialog.
if so can u let me know please

Re: <p>Closing all the opened windows from a showModalDialog</p>

Posted By:   Firat_Tiryaki  
Posted On:   Tuesday, June 4, 2002 12:17 AM

put a recursive function in all of the childs (with setTimeout). that checks a variable in the main window. The function in the modal dialog changes that variable and when the child windows recognize this, they will close themselves.
About | Sitemap | Contact