Click to See Complete Forum and Search --> : Redirecting the parent browser from the child


Kaytrim
May 24th, 2002, 02:49 PM
Trying to 'elimanate' the back button on an asp/javascript data collection site we have opened a child
window with all the necessary toolbars disabled using window.open(...). When certian events happen
I would like to close the child window and redirect the parent window. The certian events and the desired
parent actions are as follows:

Child Action Parent Location
Session Timeout Login Page
Close Window Main Menu page

The Session Timeout is a page with a link to the Login Page. Right now the Session Timeout opens in
the child window. Is there a way to determine of the page is opened in the named child window? If
so how can I close this child window and redirect the parent to the Session Timeout page. Or could
I change the link on the Session timeout to just redirect the parent to the login page.

Is there a unload event for the browser? If so what code will I need to use to redirect the parent
to the main menu page.

Please answer with complete javascript functions not code snippets.

Thank you in advance,
Michael Dove