0
tcon created
Hi, is there a way to determine if a tenant user is logged in? Also, how does AspNet Zero handles tenant users that are logged in but then close their web browser?
1 Answer(s)
-
0
Property-inject IAbpSession and check that AbpSession.UserId != null && AbpSession.TenantId != null. It's injected for you in ABP's AppServices and Controllers.
On session persistence, see my answer here: #3975@107058b8-982e-474d-9058-f0df7d850ca7