Well this is an appeasement deal for my manager. My application will never have the admin page and the end user page being used at the same time by the same user on the same machine. So this will suffice while he tests it.
Bruce On 5/1/07, Rick Root <[EMAIL PROTECTED]> wrote: > > On 5/1/07, Dave Watts <[EMAIL PROTECTED]> wrote: > > > > The onunload event of the BODY tag will let you trap the closing of a > > browser window or tab. However, I suspect that the JavaScript you could > run > > there would be somewhat limited. > > It throws when you navigate away from the page as well as closing. > > But in my experience, it's unreliable. I tried using it with > CFOpenChat to notify the room that you were currently in that you were > leaving... and .. well.. like I said.. unreliable. > > Rick > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276650 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

