Gossamer Forum
Home : General : Internet Technologies :

One user per username login session (to prevent username sharing)

Quote Reply
One user per username login session (to prevent username sharing)
I'm having problems with multiple users sharing usernames/passwords. Can someone please help with a html code for this. I have seen a site with a good idea to remedy this but have little knowledge on how to write the script. Here's how that site wrote it. After the first login session is started, if another user logs in with the same username/password, the first user is logged out automatically and this occurance is sent the the webmaster. Perfect for what I need. Please help...Thanks!Shocked
Quote Reply
Re: [jdavis7453] One user per username login session (to prevent username sharing) In reply to
Have you thought about using session cookies? Based on matching session codes stored in a database and those stored in the cookie.

The other suggestion is using IP-based authentication along with the session-based authentication, which can get a bit tricky since most IPs are dynamic.
========================================
Buh Bye!

Cheers,
Me