Base solution for your next web application
Open Closed

Can we have our own property in AbpSession #2005


User avatar
0
sparkyjr created

Hi,

Suppose I need the TenantId in any controller Action Method, we just say

AbpSession.TenantId

This will return the TenantId of the logged in user.

What if I need to include a custom property in this AbpSession with a value related to the login user? eg.

AbpSession.CustomerFolioNo

Is that possible? If yes, where should I set my custom property? When the User logs in..??


1 Answer(s)