| xiling han 2005-06-30, 2:45 am |
| Hi dear all,
I am trying to invoke the "Server-Side Client Queue" to "main.asc" of
my existing Application.
Also, I believe everybody would have read the next articles, reagarding
how to attack Firewall,
:-(
http://www.macromedia.com/devnet/mx...ls_proxy03.html
Let me call it as "FCSimpleConnectClass-like Connecting".
I used this sample code in my Application.
Therefore, when I did the above new try, I found the "Server-Side Client
Queue" would
not work with the "FCSimpleConnectClass-like Connecting".
What I did is:
application.onAppStart = function() {
* createa a netService, connect to DB to bring the Properties of
this application
* and set it to Remote Shared Object.
application.isReady = false;
}
application.onConnect = function ( client ) {
if ( isReady ) {
* accept this connecting attempt
} else {
* push it to the queue
}
}
** when the result comes back from the netservice, I set :
application.isReady = true, and start to accept the client's attempts,
waiting in the queue.
The result is: all connections are estableished and also, on the
client-side,
the established connection close by themselevs.
I DO NOT why this would happen... :-(
If some one has any idea, please adivse me.
Best regards.
Xiling
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
|