--- title: "system.perspective.refresh" description: "Triggers a refresh of the page." --- # system.perspective.refresh > Triggers a refresh of the page. This function is used in **Python Scripting**. ## Description :::note This method should not be confused with the [refreshBinding](ignition-modules\perspective\scripting-in-perspective\perspective-component-methods.md#refreshing-bindings) component method, which automatically fires a binding on a Perspective component property. ::: ## Syntax `system.perspective.refresh([sessionId], [pageId])` ### Parameters | Type | Parameter | Description | | ------- | ------- | ------ | | String | `sessionId` | Identifier of the Session to target. If omitted, the current Session will be used automatically. When targeting a different session, then the pageId parameter must be included in the call. [optional] | | String | `pageId` | Identifier of the page to target. If omitted, the current Page will be used automatically. [optional] | ### Returns Nothing ### Scope Gateway, Perspective Session :::note This function will only work in the Gateway scope if both `sessionId` and `pageId` are supplied to the call. ::: ## Code Examples ```python title="Code Snippet" # This example will refresh the current Perspective page. system.perspective.refresh() ```