Check if user is already logged in asp.net website

后端 未结 6 1584
不思量自难忘°
不思量自难忘° 2021-01-25 20:32

I am developing a website where in user is required to login to the system to be able to use it. The current functionality is: When user enters username and password, a check is

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-25 20:50

    You can add a column to userTable like IsLoggedIn. at login time you can change to true and on Session_End event on global.asax change it to false

提交回复
热议问题