By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,561 Members | 3,010 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,561 IT Pros & Developers. It's quick & easy.

How can I restrict that the some ID can only login once in the some time

P: n/a
ad
I use Login control's Authenticate event to authenticate use.
I find that different users can use the same ID to login in the same time.
How can I restrict that the some ID can only login once in the some time
Nov 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Try to keep track of logins in database. On login enter a new record for
person, then on logout, remove record. When a new user logs in, first query
database to see if someone else is currently logged-in using his
credentials.

Charlie
"ad" <ad@wfes.tcc.edu.tw> wrote in message
news:OD**************@TK2MSFTNGP12.phx.gbl...
I use Login control's Authenticate event to authenticate use.
I find that different users can use the same ID to login in the same time.
How can I restrict that the some ID can only login once in the some time

Nov 19 '05 #2

P: n/a
ad
Thanks,
But how can I know a user logout?

Maybe the user press the logout button, or session time out or he close ID
without press the logout button.

"Charlie@NISH" <cf*******@nish.org> glsD:eH**************@tk2msftngp13.phx.g bl...
Try to keep track of logins in database. On login enter a new record for
person, then on logout, remove record. When a new user logs in, first
query database to see if someone else is currently logged-in using his
credentials.

Charlie
"ad" <ad@wfes.tcc.edu.tw> wrote in message
news:OD**************@TK2MSFTNGP12.phx.gbl...
I use Login control's Authenticate event to authenticate use.
I find that different users can use the same ID to login in the same
time.
How can I restrict that the some ID can only login once in the some time


Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.