> Hi.. hi... juz wondering...
>  is it possible for us to find out user clicking on the
>  "CLose" icon at top right corner?
>
> thinking of detecting it.. and then do a proper logging
> out of our website b4 closing the window.

No, not really... My own solution was to put a hidden form on each page and
set a flag in that form if the user clicks on any link on the page that goes
to a location within the site -- a js function on the page associated with
the onunload event checks the flag in this form to determine if the user is
staying within the site / application -- otherwise it opens a small pop-up
window ( and you might be able to use a dialogue box to get past popup
killer software ) which performs the logout and then closes automatically.
My own popup killer woulnd't affect it because it doesn't kill the popup
until after it's displayed at which point the request has already been made
to the cf server and the logout script run... Some other popup killers which
prevent the window from ever opening would cause problems unless you used a
dialogue box, which I haven't had much luck with as of yet ...

Isaac Dealey
Certified Advanced ColdFusion Developer

www.turnkey.to
954-776-0046

______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to