Here Mudassar Ahmed Khan has explained with an example, a simple login form using Forms Authentication which validates user login from database and redirect User to ReturnUrl page i.e. the Page present in ReturnUrl QueryString and not DefaultUrl page using FormsAuthentication.RedirectFromLoginPage method in ASP.Net using C# and VB.Net.
↧