How do I redirect to a page after successful login?

前端 未结 7 2037
梦谈多话
梦谈多话 2021-01-18 02:59

I\'m fairly new to web forms development, playing around with a project created using the ASP.NET Web Application template in VS 2010. After the user successfully logs in, I

7条回答
  •  萌比男神i
    2021-01-18 03:18

    I assume you're using ASP.NET Login control. There's a DestinationPageUrl property of that control that handles exactly that. If login was successfull user is redirected to URL provided in that property.

提交回复
热议问题