You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When is_active_session cookie expires it will return None inferring that the session expired. We can easily show an overlay widget to ask for a session renewal.
We might have the following options:
Renew session now (by entering the login credentials)
Renew later (show a warning and an icon in the navbar to open this widget again) (most functionalities will not work in this state)
Close everything and return to the home page
Note
We should keep consideration of option-2 while developing any feature to work or give a fallback when is_active_session returns None. Knowing about this overhead, we might just skip implementing it or keep it to the minimum interaction, otherwise that the other options are forced.
Note
Currently is_active_session's false value is not used, we are just relying on it being true or None. We might possibly change this behaviour when implementing option-2. However, I don't know how yet.
When
is_active_sessioncookie expires it will returnNoneinferring that the session expired. We can easily show an overlay widget to ask for a session renewal.We might have the following options:
Note
We should keep consideration of option-2 while developing any feature to work or give a fallback when
is_active_sessionreturnsNone. Knowing about this overhead, we might just skip implementing it or keep it to the minimum interaction, otherwise that the other options are forced.Note
Currently
is_active_session'sfalsevalue is not used, we are just relying on it beingtrueorNone. We might possibly change this behaviour when implementing option-2. However, I don't know how yet.