Groups | Blog | Home
all groups > macromedia flash flashcom > june 2005 >

macromedia flash flashcom : What if user closes the Browser



JeffreyGong
6/9/2005 12:00:00 AM
Hi SabyGaba,

Most time the netConnection will be disconnected automatically but sometimes
it's not (under XP SP2 and/or some versions of IE or netscape)!

You may use server-side function ping() to detect who is still
connected/disconnected and remove those users that closed their browsers.

Jeffrey

SabyGaba
6/9/2005 10:51:08 AM
I m working on a simple text chat through Flash Communication server.Its
working well.

One of the issue that is creating the trouble is

-- A user can simple disconnect if he clicks, But if he closes the browser
window he is still connected to the application. if some other user connects to
the same room he is able to see the earlier logged in user.

In other words I want the user to disconnect if he closes the Browser.

Plz Help!
AddThis Social Bookmark Button