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
Currently the hasSession call caches all results using a common key (hasSession-cache) in browser session storage.
If the session state reflected in cookies changes it might not be detected until the cache expires.
To detect such changes in cookie state the hasSession result cache key could depend on the session cookie value, for example:
key: hasSession-cache for not logged-in user
key: hasSession-cache-<cookie value> for logged-in user
The text was updated successfully, but these errors were encountered:
Currently the
hasSession
call caches all results using a common key (hasSession-cache
) in browser session storage.If the session state reflected in cookies changes it might not be detected until the cache expires.
To detect such changes in cookie state the
hasSession
result cache key could depend on the session cookie value, for example:hasSession-cache
for not logged-in userhasSession-cache-<cookie value>
for logged-in userThe text was updated successfully, but these errors were encountered: