Are there any plans for a property that sets a maximum size for total user session, and throws an exception if its exceeded? Any recommendations on how I can simply accomplish this? (currently using redis distributed cache)
No plans for this yet, but it's an interesting idea.
Some workarounds:
You have full access to the data from ISession so it would not be difficult to enforce your own limit via a helper method, middleware, etc.. e.g. enumerate the session and total the size of the elements.
Are there any plans for a property that sets a maximum size for total user session, and throws an exception if its exceeded? Any recommendations on how I can simply accomplish this? (currently using redis distributed cache)