I am using ABP framework with MVC 5 and deployed into Azure. I have listed few session related questions below.
I used HttpContext.Current.Session
in WebMpa project and AbpSession in Application services, but unable to get the data from AbpSession using HttpContext.Current.Session
in WebMpa project, both are saving data in different place?
Am using static helper class and static property to Get/Set HttpContext.Current.Session
value, if i want to remove the HttpContext.Current.Session
any easiest way is available(with minimal code change), it could be better if we can get AbpSession
from that static class?
I want to alert users 20 secs prior to session expired, is there any build in option available in ABP?
If I enable to Redis Cache implementation in my application, Cache, HttpContext.Current.Session
, AbpSession
and TempData
will works without any issues and all should Get/Set values from Redis datasource?
PS: AbpSession stores claims. And it's extendable. So you can store any item in AbpSession. See the link to understand how to extend AbpSession https://gist.github.com/hikalkan/67469e05475c2d18cb88