Quickest way to require authentication in asp.net webform?

前端 未结 4 401
不知归路
不知归路 2021-01-21 17:37

As of right now, I have the user register/log in and then if successful, redirect them to the homepage. However, this is extremely artificial as the user can simply type the ur

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-21 18:01

    Check How to: Implement Simple Forms Authentication.

    This type of authentication requires a log-in form referenced in web.config. It can be done with or without cookie: Cookieless Forms Authentication.

提交回复
热议问题