We are using JWT token authentication generated from IdentityServer. I wonder what is the proper way to do the same functionality of sessions variables (and Application wide variables) when calling various controller actions. Should I store those variables in an InMemory cache for example ?
For example: I'm doing file upload to a controller action, I need some other controller action to report how much of that file was uploaded, so these two actions needs to have a common variable to report that file upload progress ...
Thank you ...