Could one use this method to generally log out a user when they close their browser window? In other words could one put a <body onUnload="doPurge();"> in every page's header and then call some general taf that would clear that user's user variable when they close the window?
Regards Trevor -----Original Message----- From: Ben Johansen [mailto:[EMAIL PROTECTED] Sent: 11 September 2003 10: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
