pui.refresh()
This API refreshes the browser page and reloads all CSS and JavaScript files. Â Once the page reloads, the user's existing session is automatically restored to its previous state.
Parameters:
optional config object - JavaScript object containing configuration properties
Configuration Options:
skin - new Genie skin to apply to the session
url - alternate URL to use when refreshing the session