1 Reply Latest reply on Aug 11, 2010 5:49 PM by mike_morales

    retaining the state when F5 or refresh is pressed




      I am new to Flex. I have a quick question on how to retain the state of the flex app when F5 or refresh is pressed.


      Here is the problem:


      When user opens the site, he will be prompted to give credentials. Once the user successfully logs in, I will take him to a different view. If the user presses F5 or refresh button of the browser, he is brought back to the main page or the main view. i don't want that to happen. I know the flex VM reloads the entire swf file when that happens. How do I prevent that?


      Any help would be greatly appreciated!


      thanks in advance.