When using FormsAuthentication, how can I redirect a user to a different page other than the default page

Platform: ASP.NET|Category: Miscellaneous

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');