# Trigger page refresh based on client connectivity

**URL:** <https://forum.inductiveautomation.com/t/trigger-page-refresh-based-on-client-connectivity/41086>\
**Category:** Ignition\
**Tags:** perspective, ignition81, ignition80\
**Created:** [December 1, 2020, 2:29pm UTC](https://forum.inductiveautomation.com/t/trigger-page-refresh-based-on-client-connectivity/41086 "2020-12-01T14:29:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcarritt1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mcarritt1/32/4262_2.png) [@mcarritt1](https://forum.inductiveautomation.com/u/mcarritt1)\
**Post date:** [December 1, 2020, 2:29pm UTC](https://forum.inductiveautomation.com/t/trigger-page-refresh-based-on-client-connectivity/41086/1 "2020-12-01T14:29:37Z")

</div>

Does anyone have an idea on how I could trigger a perspective page refresh if the client loses connection for a set period of time?

My understanding is the scripts run on the gateway for perspective clients, so I’m not sure how I could achieve this. The problem is if the connection is lost things dont always come back to life the way they should so we just want to handle that and refresh the page automatically.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [December 1, 2020, 3:48pm UTC](https://forum.inductiveautomation.com/t/trigger-page-refresh-based-on-client-connectivity/41086/2 "2020-12-01T15:48:05Z")

</div>

I would need to think about this a while longer in order to provide a good solution, but a bad solution is to have an unused property bound to the quality of a tag binding or Named Query binding. If that binding goes bad write to another property. When the quality is good, check against the second property to determine if the quality just reflected a reconnection, and then reset the second prop and refresh the page.
