• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Session timeout

    Mango Automation general Discussion
    2
    13
    4.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JoelHaggarJ
      JoelHaggar
      last edited by

      You can try setting the dashboard to auto refresh by linking a timer to a refresh behavior. Also make sure your browser isn't going to sleep.

      Joe.

      1 Reply Last reply Reply Quote 0
      • ricardoR
        ricardo
        last edited by

        Hi Joel,

        Thank you for your prompt reply.

        Can you give me an example on what you mean by refresh behavior?

        Regarding browser isn't going to sleep, you are referring to the OS of the client PC isn't going into sleep mode right?

        BR,
        Ricardo

        1 Reply Last reply Reply Quote 0
        • JoelHaggarJ
          JoelHaggar
          last edited by

          Add a trigger under a dynamic property.
          Next go to the behavior tab and click the + sign to add a behavior. At the bottom of the list you'll see your trigger. After you add the trigger Change the action name to Refresh Browser.

          Next you'll have to link a timer to fire the trigger.

          Joel.

          1 Reply Last reply Reply Quote 0
          • ricardoR
            ricardo
            last edited by

            Which object should we add this dynamic property to? Just any container?

            1 Reply Last reply Reply Quote 0
            • ricardoR
              ricardo
              last edited by

              I am trying the following. Let me know if I have interpreted you incorrectly.

              I have created a 1-sec timer that resets every 30 sec.
              I have created a Trigger under the Main Container and named it Refresh Browser.
              I have binded the Timer to invoke the Refresh Browser trigger when it hits "0" (every 30 sec).
              I have created an event under Main Container with Refresh Browser trigger.

              Question:
              Right now the event from Rresh Browser trigger does not set any state. Is this correct?

              1 Reply Last reply Reply Quote 0
              • ricardoR
                ricardo
                last edited by

                Any help?

                1 Reply Last reply Reply Quote 0
                • JoelHaggarJ
                  JoelHaggar
                  last edited by

                  You now need to add a behavior to the trigger. On the same container with your trigger, click on the Behavior accordion and then click the +, at the very bottom of the list you will see your trigger. Once the trigger is added change the set state to refresh.

                  Joel.

                  1 Reply Last reply Reply Quote 0
                  • ricardoR
                    ricardo
                    last edited by

                    I set the trigger and behavior (Refresh Browser) on the Main Container. However, the dashboard still freeze after a couple of hours. See attachments.

                    Attachment: download link

                    1 Reply Last reply Reply Quote 0
                    • JoelHaggarJ
                      JoelHaggar
                      last edited by

                      Hi Ricardo,

                      Try increasing the time out setting in the file mango home/web/WEB-INF/web.xml

                      <session-config>
                      <session-timeout>30</session-timeout>
                      </session-config>

                      Let me know if that help.

                      Joel.

                      1 Reply Last reply Reply Quote 0
                      • ricardoR
                        ricardo
                        last edited by

                        Since the dashboard will be use in a control room without much user interaction, is there a configuration setting that will disable timeout all together? Or I need to put an arbitrary large timeout value?

                        1 Reply Last reply Reply Quote 0
                        • JoelHaggarJ
                          JoelHaggar
                          last edited by

                          You'll probably have to just set it really high. You many also need to make sure the browser isn't going to sleep. If the browser is active it should not time out, the time out only applies ones the browser goes inactive.

                          Joel.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post