Skip to main content
July 30, 2010
Question

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

  • July 30, 2010
  • 1 reply
  • 669 views

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 has been closed for replies.

    1 reply

    Participating Frequently
    July 30, 2010

    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)

    July 30, 2010

    Thanks!

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

    Participating Frequently
    July 30, 2010

    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