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
{{ message }}
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.
As part of aspnet/Session#113. We realized there is value in adding a IsAvailable property to the ISession interface to indicate whether the session has loaded correctly. This value can depend on factors such as whether the underlying caching data is available and is valid.
The text was updated successfully, but these errors were encountered:
@kichalla The idea is that if the Session is not available, you should not depend on it to give you any information. You should have some fall back logic to handle it and depending on the case, throwing and failing the request may or may not be the right thing to do.
Note that if the session is not available, it will no op when you try to access or modify it. TryGetValue() will return false and Set/Remove will no-op.
As part of aspnet/Session#113. We realized there is value in adding a
IsAvailable
property to theISession
interface to indicate whether the session has loaded correctly. This value can depend on factors such as whether the underlying caching data is available and is valid.The text was updated successfully, but these errors were encountered: