Access Session State#

Whenever a Panel application is being served the panel.state object will provide a variety of information about the current user session. This includes the HTTP request that initiated the session, information about the browser and the current URL, and more. These How-to pages provide solutions for common tasks for managing the session state.

Access and Manipulate the URL

How to access and manipulate the URL.

Access HTTP Request State

How to access information about the HTTP request associated with a session.

Access the Busyness State

How to access the busy state.

Examples#

Sync Widgets and URL

Sync the widget state with the URL to allow deep linking your application state using pn.state.location.