Hello Eric Thanks for your code. But in our application we have we a main window from App A which would open a link to a new windown in appB , App A and App B are independent application afterr it has been opened.
Your code if i understand right has a instance variable called winPop and then if a window is opened it will be assigned true so when next time someone trries to click on the link to open a window it would fail saying it is already open.
But this will not help in my scenario when if the app B window is closed by that application or by user of browserr for app b. The instance variable in my application will always think there is App B window is always open. SO how can i handle this scenario like when App B is prresent use it otherwise open a new window.
Hello Eric Thanks for your rreply. I understand that if you move away from the page which originally created the opened window you loose the new window object refrence (winpop = false) again.