In this article I am going to give you a step-by-step guide on how to do a User Login Redirect in ASP.Net
1. Create a new project site in Visual Studio or open the project that you are working on:
2. As you can see there are tree page default.aspx, OtherPage.aspx and MyPageThatIWant.aspx if we publish this site, users will be redirected to the default.aspx page on login, because this is predetermined in the server. There are several ways to do redirect to a page. In this case we are going to do it through asp.net.
3. In Visual Studio, Open the default.aspx page. In the load page event, add the following code.
4. Once we add this code, users will be redirected on login to the page set with that code:
This concludes User Login Redirect in ASP.Net