07-22-2023, 09:56 PM
I am using form authentication with below method in my ASP.NET application
FormsAuthentication.RedirectFromLoginPage(txtUsername.Text, true);
How do I check whether user is logged in or not? And how can I get the user name of a logged in user?
FormsAuthentication.RedirectFromLoginPage(txtUsername.Text, true);
How do I check whether user is logged in or not? And how can I get the user name of a logged in user?