[02/03] get hardware information of clients' PCs from asp.net?
Is it possible to get hardware information of clients' PCs from asp.net?
I have a site, users need register accounts to login. How can I code it, so that every time only one instance of the user can login the account?
For example, one user (AAA) created the account, he tells another guy (BBB) his login. So, AAA and BBB can login at the same time. How can I prevent this happen?
thanks
bear
Re: [02/03] get hardware information of clients' PCs from asp.net?
Tie a session to a login.
During your login process, you simply need to invalidate any previous session that is using that login. There are probably built-in classes in .Net 2.0 that can help along this manner, but the basic premise is you tie a session to a user login, and during the login process, search the active sessions for another instance of the login, if it exists, you invalidate the previous session.
Re: [02/03] get hardware information of clients' PCs from asp.net?
Re: [02/03] get hardware information of clients' PCs from asp.net?
thanks everyone, I'll check out the cache suggestion. looks like it is what I need! appreciate the help.
bear
Re: [02/03] get hardware information of clients' PCs from asp.net?
I think the article is slightly flawed based on an early premise - that the new incoming session should be rejected. If anything, they should have simply dumped the old session.
If a user is sharing login information - it would be their own fault if a session they were working with was dumped because his friend logged in with his credentials in the meantime.