anyone please help, how can I find on flash media server that client disconnected (due to power cut off not manually). my fms code is next
application.allowDebug = true;
application.onAppStart = function(){
application.users_so = SharedObject.get("SO");
}
application.onConnect = function(client,Obj){
client.name = Obj.name;
application.acceptConnection(client);
application.users_so.setProperty(client.name,Obj);
trace("one user is now connected.");
}
application.onDisconnect = function(client){
trace(" user lost connection.");
}
IF client manually close the application then onDisconnect Event handler is called but if due to power cut off OR client disable net-connection it does not called.
please help me in this.