Skip navigation
Currently Being Moderated

accessing a variable from different application instance in fmis

Feb 28, 2011 11:44 PM

Hello everyone i like to know how to declare a global variable in FMS, so that i can access it from different application instance of a same application.

 

Thank.

 
Replies
  • Currently Being Moderated
    Mar 1, 2011 3:10 AM   in reply to alias19

    Can you have look at this link: http://help.adobe.com/en_US/flashmediaserver/configadmin/WS5b3ccc516d4 fbf351e63e3d119f2925e64-7fd2.html#WS5b3ccc516d4fbf351e63e3d119f2925e64 -7fca

     

     

    Basically you will have to create Application.xml for that single application which you are working on and define config properties explained in page above. So all application instances of this application would share these config properties.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 1, 2011 4:10 AM   in reply to alias19

    Hi,

     

    In such a use case you can use persistent shared object to keep track of all connected users and the instances they are connected to. then when a user connects in application.xml you can check whether that user name and password is valid for a instance. This doc should help you get this achieved http://help.adobe.com/en_US/FlashMediaServer/3.5_Deving/WS5b3ccc516d4f bf351e63e3d11a0773d37a-7fff.html

     

    Thanks,

    Abhishek

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 1, 2011 9:27 AM   in reply to SE_0208

    Actually the method of putting variables in an Application.xml file doesn't work anymore. That stopped working a couple of versions back from my testing.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points