Skip to main content
July 9, 2007
Question

Stopping FCS from unloading an app instance

  • July 9, 2007
  • 4 replies
  • 401 views
Hi,

We're running the older Flash Communication Sever, and we're trying to figure out how to keep it from Unloading application instance when noone is using that application. It's a chat app, and when noone is using it, the server shuts the app down, which wipes out the existing chat history for any new user that comes in, so the new user thinks the chat isn't being used.

Thank you.


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

    4 replies

    Participating Frequently
    July 12, 2007
    no. none from me. i honestly dont have the first clue
    July 10, 2007
    Thanks man. Your "da bomb".

    A little rude there at the end, but da bomb none the less.
    July 11, 2007
    quote:

    Originally posted by: leatherjeep
    Thanks man. Your "da bomb".

    A little rude there at the end, but da bomb none the less.


    Not sure what you mean by rude. If you're talking about the footer, it's the result of hundreds of off-list emails asking for help (not that I don't want to help people... I just don't want to do it by email)

    July 9, 2007
    The ideal solution would be to save the chat history, rather than keeping the instance from benig garbage collected.

    The easiest way to do this is to make the shared object for the chat history persistent. see the docs for the server sdie sharedobject class.

    If you just want to do it by brute force, you can add this to your main.asc

    application.onAppStop = function(){
    return false;
    }

    ... and your app will never shut down.