I m new to VS.Net and C#. I have a project that auto logins authorized user.
C# |
But i would like to know where is the login aspx part for unauthorized user??? I searched the project but could NOT see anything about login page.
Any help would be great.
thanks in advance.
Deepak Singh6 pointsPosted Jul 17, 2010, 5:57 AM EDT
if (HttpContext.Current.User.Identity.IsAuthenticated)
{
Response.Redirect("~/Default.aspx");
}
else
Response.Redirect("~/login/login.aspx");