Ben, I use MS IE 6. On my machine it doesn't work. The variable @@user$TheUserVar still show Hello World pm the second "Call View".
It seems like your logic should work though. Is it possible that the javascript window.close(); executes before <body onUnload="doPurge();"> can do it's work? Thanks Steve -----Original Message----- From: Ben Johansen [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 3:48 PM To: [EMAIL PROTECTED] Subject: RE: Witango-Talk: Purge user variable on window closing Ok Place these files in the root 1. Run the TestPurge.taf 2. click on the "Call View" (will show the user var value) 3. click on the "Call popup" (will show the user var value in popup) 4. click close or press window X in popup window 5. click on the "Call View" (will show the user var empty this time) Ben Johansen - http://www.pcforge.com Authorized Witango & MDaemon Reseller Available for Witango Developement -----Original Message----- From: Fogelson, Steve [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 12:01 PM To: Witango User Group (E-mail) Subject: Witango-Talk: Purge user variable on window closing I use a popup window in an application. The popup window is a taf that creates user variables. I need to use user variables in the popup as it creates a few large arrays and the taf branches back to itself, so I only want to create the arrays once. Is there a way to purge specific user variables when a popup window is closed? FYI: the parent window would still be open, but may be a different taf than the original one that opened the popup. So I believe the popup would need to purge the user variables when it is closed. Thanks Steve Fogelson Internet Commerce Solutions ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf