0
I’m developing my first . net MVC application.
Usually when working with Web form, after the user logs in his information (name, email, permissions, etc.) was saved in the session. This way, each request could validate if it actually has permission to access a page or functionality without the need to read the database again.
I’ve been reading some posts related to not using Session to store this type of information, since it can compromise the scalability of the application. Based on this, what would be the best way to store logged-in user information? Validating permissions when a request arrives on the server?