forms authentication asp.net vb

前端 未结 3 2013
野趣味
野趣味 2021-01-16 20:38

I have a log in page which is the home page so is located at www.domainname.com

when someone goes to this page it adds a returnurl to the string so they are at:

3条回答
  •  情话喂你
    2021-01-16 21:10

    You should send them to the page you want them to default to. What you should do is create the login page on a seperate page (login.aspx) for instance and then make the default.aspx page the home page. Then when they go to default.aspx they will be redirected to login.aspx?ReturnURL=%2f .

提交回复
热议问题