# Refresh query binding on session custom property

**URL:** <https://forum.inductiveautomation.com/t/refresh-query-binding-on-session-custom-property/108316>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [July 10, 2025, 12:49pm UTC](https://forum.inductiveautomation.com/t/refresh-query-binding-on-session-custom-property/108316 "2025-07-10T12:49:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aiasa21](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@Aiasa21](https://forum.inductiveautomation.com/u/Aiasa21)\
**Post date:** [July 10, 2025, 12:49pm UTC](https://forum.inductiveautomation.com/t/refresh-query-binding-on-session-custom-property/108316/1 "2025-07-10T12:49:02Z")

</div>

Good morning, I have a custom property with a named query binding on it.

This query return the user settings. I have a page where I can update these settings.

I wonder how I can force the refresh of this query when the save button is clicked without maybe setting the polling rate.

Thank you

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [July 10, 2025, 1:18pm UTC](https://forum.inductiveautomation.com/t/refresh-query-binding-on-session-custom-property/108316/2 "2025-07-10T13:18:05Z")

</div>

I believe you should be able to use `self.session.refreshBinding('custom.your_prop')`.

---

<div class="post-metadata">

**Author:** ![kvane](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kvane/32/22228_2.png) [@kvane](https://forum.inductiveautomation.com/u/kvane)\
**Post date:** [July 10, 2025, 1:19pm UTC](https://forum.inductiveautomation.com/t/refresh-query-binding-on-session-custom-property/108316/3 "2025-07-10T13:19:33Z")

</div>

Good morning, as Pascal noted you can refresh bindings at will, but to get up to the session prop from your button take a look at message handling:

> **[system.perspective.sendMessage | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-perspective/system-perspective-sendMessage)**
>
> Send a message to a message handler within the same session.

A Session level message handler that uses [self.refreshBinding()](https://www.docs.inductiveautomation.com/docs/8.1/ignition-modules/perspective/scripting-in-perspective/perspective-component-methods#refreshing-bindings) is the common solution. This can work across sessions to refresh different sets of users, or if targeting just the immediate user you could skip a lot of the message handling entirely see Pascal's comment.

You can achieve similar behavior with more custom props and change scripts too: add a different session custom property that is like a switch, have the button conclude by "flipping" the switch, and then on the change script of that new switch custom property you can refresh binding. Using a memory tag as the switch can be a quick way for a universal refresh.

---

<div class="post-metadata">

**Author:** ![Aiasa21](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@Aiasa21](https://forum.inductiveautomation.com/u/Aiasa21)\
**Post date:** [July 11, 2025, 6:42am UTC](https://forum.inductiveautomation.com/t/refresh-query-binding-on-session-custom-property/108316/4 "2025-07-11T06:42:05Z")

</div>

Thank you all for the help and for the suggestions. I confirm that this method works

`self.session.refreshBinding('custom.your_prop')`
