Macromedia Flash Server - whne "Queue Client connection",

This is Interesting: Free IT Magazines  
Home > Archive > Macromedia Flash Server > June 2005 > whne "Queue Client connection",





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author whne "Queue Client connection",
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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com