I have an asp.net c# application. I'm using web forms authentication. I would like as soon as user logged or register at website to write his information in Session, like:
- UserId, Email, Name, phone, address etc
I'm using also openid authentication.
As I see it the session can saved from master page, or Global.asax file. In my case I have 3 different master pages and I would like to save and remove user session variables from one place.
Also it has to be secure. Anyway at what point in application life cycle better to store session variables unique for each user? Best practices