The problem is that when you refresh the parent window, the parent-child relationship is destroyed. You can create a frame set with only one frame and open the window from the frameset. This way the relationship still exists after refreshing the frame. When you log out, trigger another function in the frame set to close the child.
If frames are not an option, I don't see an easy solution. You could make your child refresh every x seconds and if the user logged out, close the window, but this is not an elegant solution and might give you problems if the menu is using dhtml (can't keep status on refresh)


HTH
Pascal

-----Oorspronkelijk bericht-----
Van: Brrrian [mailto:[EMAIL PROTECTED]
Verzonden: ma 10/11/2003 3:13
Aan: CF-Talk
CC:
Onderwerp: _javascript_ window.close() twist


------------
The Issue
------------
When the user wants to LogOut I need to Close the Child Window.  I can't
get anything to work.



[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to