how to restrict the multiple login by the user
-
I am trying to prevent the multiple login by the user. To do that i keep the data in the database on login and when logout i delete the data. But if there is some error and session is timeout the deletion can not be done. the session_End event of global.asax do not work. I use the sessionstate mode ="InProc"
-
I am trying to prevent the multiple login by the user. To do that i keep the data in the database on login and when logout i delete the data. But if there is some error and session is timeout the deletion can not be done. the session_End event of global.asax do not work. I use the sessionstate mode ="InProc"
You should set a timeout of your own on the database, so that logins time out in your system also.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
You should set a timeout of your own on the database, so that logins time out in your system also.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
uttambro wrote:
but it gives the problem in various cases.
What problem?
Regards, Satips.:rose:
-
I am trying to prevent the multiple login by the user. To do that i keep the data in the database on login and when logout i delete the data. But if there is some error and session is timeout the deletion can not be done. the session_End event of global.asax do not work. I use the sessionstate mode ="InProc"
This significantly addresses the issue: http://www.eggheadcafe.com/articles/20030418.asp[^]
Vasudevan Deepak Kumar Personal Homepage Tech Gossips
-
I am trying to prevent the multiple login by the user. To do that i keep the data in the database on login and when logout i delete the data. But if there is some error and session is timeout the deletion can not be done. the session_End event of global.asax do not work. I use the sessionstate mode ="InProc"
hi, create sessions with userid then if another user is trying to use it means it will give errors when the session value is same. check the session before creating the sessions. session("userid")=uttambro all the best
Sathesh Pandian