Skip to main content
Jul 9, 2007 5:46 PM UTC
Question

Stopping FCS from unloading an app instance

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
    Jul 12, 2007 10:32 AM UTC
    no. none from me. i honestly dont have the first clue
    Translate
    Jul 10, 2007 8:35 PM UTC
    Thanks man. Your "da bomb".

    A little rude there at the end, but da bomb none the less.
    Translate
    Jul 11, 2007 12:47 AM UTC
    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)

    Translate
    Jul 9, 2007 8:34 PM UTC
    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.
    Translate