If the window is opened by javascript and assigned to a variable when it is opened it should be fairly easy to do, if it's not it's going to be a lot harder. What's the code that opens the window? Dan
________________________________ From: vkanids [mailto:[EMAIL PROTECTED] Sent: 31 March 2005 23:59 To: [email protected] Subject: [AspClassicAnyQuestionIsOk] Closing a child window opened from another frameset I've got a knotty problem that just may have no solution, and after beating my forehead against the wall for most of the day on it, I thought I'd call in the experts. I've inherited a web portal application written in Classic ASP for which I'm the primary developer and sole webmaster. Note that I said 'inherited', so don't blame me for the design/architecture. The application is framed, made up of two framesets: the first frameset is the left menu (made up of two frames, one for the menu and the other for an instant messaging capability); the second frameset is a top border, a status bar, and the main window where 99% of the interaction takes place. My problem is as follows: There is a new window being opened up by the left menu - from frame 0 of frameset 0 - that is used for an ongoing chatroom. The logout button for the portal is in the top border bar main frameset - in frame 0 of frameset 1. What I need to do is be able to close the window opened in frame 0 of frameset 0 from the logout button code called from frame 0 of frameset 1 (if I don't close the chatroom window for them, then some users will continue to try to chat, and unpredictably bad results occur as their session variables have been cleared by their previous logout). Is there a reasonable way to accomplish this without a substantial redesign of the entire application? Or do I just need to give up, leave the window open and be content with performing some background damage control?? Thanks for any help and comments in advance, Cary ________________________________ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED] subscribe> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . [Non-text portions of this message have been removed] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
