when you close your browser, Flash Player is halted immediately. no other ActionScript gets to run.
one solution to the problem is to keep a timestamp on your database record, refresh the DB record from time-to-time, and expire out old non-refreshed records after a reasonable timeout period.
Hi mike . thanks for the reply.
I will take ur advice.
Btw i digged up some old threads and i found something relevant to this.
(Actually it was u again who replied on this thread for a guy in need of help , i have to really thank you for all the efforts u have put to help us )
In that thread u made a point
"if you specify a bad or dead peer ID, you will eventually (after a timeout of about 90 seconds) get a NetStream.Connect.Closed event. likewise you'll get that event if you were connected to a peer but that peer then goes away."
So i(subscriber) have to wait 90secs to know whether its a dead peer(whose browser session was terminated and it still resides on DB) , when i connect to that peer?
Is there any other better solution to find the deadPeer and remove it off ?
Thanks again mike.
Sorry for the double post.