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 and Manipulate the URL
Access HTTP Request State

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

Access HTTP Request State
Access the Busyness State

How to access the busy state.

Access Busyness state

Examples#

Sync Widgets and URL

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

Sync Widgets and URL