I m new to VS.Net and C#. I have a project that auto logins authorized user.
|
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 SinghPosted Jul 17, 2010, 9:57 AM
if (HttpContext.Current.User.Identity.IsAuthenticated)
{
Response.Redirect("~/Default.aspx");
}
else
Response.Redirect("~/login/login.aspx");