how to disable a login of a particular user after a particular period of time. it can even called as user credentials or subscription mode.If the subscription period is done user should not login. is there any code in c# asp.net code for this.kindly please help me. thank you
Asked
Active
Viewed 260 times
-1
-
Take a look here : http://stackoverflow.com/questions/21990619/how-to-increase-session-timeout-in-asp-net – sujith karivelil Mar 07 '17 at 06:09
2 Answers
0
You need a table to keep the users and the appropriate time for each user and has to be communicate with this table for each login.
Houshang.Karami
- 291
- 1
- 3
- 11
0
I am not able to recall as of now, But there is a notification based nuget package available in VS . It works on observer pattern and keep pinging your application.
if the time expires , it will notify the user and will help you to log off as well .
Arpit Goyal
- 36
- 3