How to set asp.net authenticated properties

前端 未结 3 976
野的像风
野的像风 2021-01-01 08:02

I have the following settings in my web.config file. It basically restricts access to a page if the user is not logged in. If I don\'t want to use the asp login controls or

3条回答
  •  醉梦人生
    2021-01-01 08:50

    If you don't want to do ANYTHING with the .NET system, it is going to be a bit hard.

    If you are ok with some, just use the "FormsAuthentication.RedirectFromLoginPage" on your login to set the cookie that shows a user as logged in.

提交回复
热议问题