When FormsAuthentication is used in ASP.NET, by default, it gets redirected to the default.aspx page.
To redirect it to some other page other than default.aspx you have to use the code below.
VB.NET
FormsAuthentication.SetAuthCookie(txtUsername.Text,false)
Response.Redirect('someotherpage.aspx')
C#
FormsAuthentication.SetAuthCookie(txtUsername.Text,false);
Response.Redirect('someotherpage.aspx');
Share with