Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

How essential is SessionState? #22

Closed
ry8806 opened this issue May 17, 2017 · 1 comment
Closed

How essential is SessionState? #22

ry8806 opened this issue May 17, 2017 · 1 comment

Comments

@ry8806
Copy link

ry8806 commented May 17, 2017

I've not dug into the code fully yet, however can see a few references to SessionState

I'd like to use Azure AD B2C, however I'm a bit reluctant of bringing in SessionState into my current application.

Are there any other samples which don't rely on SessionState, or is SessionState essential to run Azure AD B2C??

Thanks
Ryan

@ry8806 ry8806 changed the title How essential is SessionState How essential is SessionState? May 17, 2017
@gsacavdm
Copy link
Contributor

Hey @ry8806, updated the sample's read me with an "About the code section", in it you should find this note:

MSALSessionCache is a sample implementation of a custom MSAL token cache, which saves tokens in the current HTTP session. In a real-life application, you would likely want to save tokens in a long lived store instead, so that you don't need to retrieve new ones more often than necessary.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants