bummer.. it works when I LEAVE the page, but not when I close the
browser window.  At least not in the ajax world CFOpenchat works in.

http://www.opensourcecf.com/cfopenchat/demo

Oh well.

On 5/1/07, Rick Root <[EMAIL PROTECTED]> wrote:
> Neat, I'll have to try that for cfopenchat.....
>
> On 5/1/07, Bruce Sorge <[EMAIL PROTECTED]> wrote:
> > I read the DOM and figured it out.
> >
> > <script type="text/javascript">
> > function logout() {
> > location.href = 'logoff.cfm';
> > }
> > </script>
> >
> > <body onbeforeunload="logout()">
> >
> >
> >
> > > 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.
> > >
> > > Dave Watts, CTO, Fig Leaf Software
> > > http://www.figleaf.com/
> > >
> > > Fig Leaf Software provides the highest caliber vendor-authorized
> > > instruction at our training centers in Washington DC, Atlanta,
> > > Chicago, Baltimore, Northern Virginia, or on-site at your location.
> > > Visit http://training.figleaf.com/ for more information!
> > >
> > > This email has been processed by SmoothZap - www.smoothwall.net
> > >
> > >
> >
> >
> > 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276648
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to