Skip to main content
Jul 30, 2010 3:44 AM UTC
Question

Why is server side actionscript in FMS not taking affect right away?

app.asc:

application.onConnect = function(client,parameters)
{
 
//application.acceptConnection(client);
  application
.rejectConnection(client);
}

when I change the above to acceptConnection, still rejected ,why is change of .asc not taking affect right away?

    This topic is closed to new replies. Start a new post to keep the conversation going.

    3 replies

    Participating Frequently
    Jul 30, 2010 4:23 AM UTC

    You need to unload the application in order for new code changes to take into effect.

    To unload the application, you can use Admin Console tool (look for fms_adminConsole.htm in tools folder of installation).

    Open it up, login using FMS URL and admin credentials. Under View Applications tab you will see your application listed , it would be loaded - Now to unload it , click on it (for selecting it) and then click Unload button (it would be round circle icon with one cross line - it will placed next to Performance tab)

    Translate
    Jul 30, 2010 12:50 PM UTC

    Thanks!

    But SE_0208, is it possible to do it without involving Admin Console, like deleting some specific files    ?

    Translate
    Participating Frequently
    Jul 30, 2010 12:55 PM UTC

    Not exactly, i mean not by deleting files as such - but if your intent is to do programatically, you can use Admin API commands , there is an API to unload application - please see AdministrationAPI guide

    Translate