Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Universally clearing persistence

$
0
0

My app has several pages and many components defined with

persistence=True,
persistence_type='session',

I have implemented a simple authentication system using https://github.com/russellromney/dash-auth-flow (thanks @russellthehippo). So if a user logs out and new user logs in to the same browser tab, the session is still the same and items selected by the previous user persist.

Is there a way to completely reset the session whenever a user logs out (or in) to these clear persistent values? The Explicitly clearing saved data example just showed how to clear or reset one specifically within a callback and I have dozens.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles