I'm using the Session.Add command to track the login status of members on my website.
E.g.
Session.Add("LoginState", "true");
Is this the proper way to track login status, or will it slow down the site?
Also, where do I store the credentials of members? For example, in certain parts of the site, I need to access the first name of the user that is logged in. Do I also store this in session?
E.g.
Session.Add("LoginState", "true");
Is this the proper way to track login status, or will it slow down the site?
Also, where do I store the credentials of members? For example, in certain parts of the site, I need to access the first name of the user that is logged in. Do I also store this in session?