This topic is locked

2 User for the same account

12/8/2006 1:10:44 PM
PHPRunner General questions
L
lawfour author

Hi
I have come across a problem where 2 people would like to use the same account and I am trying to think of a way to do it. I will have to alter my current registration DB which I would not like to since every table I have is tied into the current design.
The only way I can think of is adding another field and calling it usename 2, I will keep everything else the same. Has someone else created a multiple user database? If so how?
Thanks

L

Sergey Kornilov admin 12/8/2006

Tell me a bit more about security options you use.
In fact nothing prevent two or more users from using the same username/password.

L
lawfour author 12/8/2006

Tell me a bit more about security options you use.

In fact nothing prevent two or more users from using the same username/password.


Yeah I think that is what I am going to do is let them use the same username and passcode until I am forced to make changes.
Thanks

L

D
Dale 12/8/2006

I had the same situation, multiple persons logging on to one customer account.

At first they were okay with All using the same ID and PSWD but, when one person left the company, it was a pain to notify everone there password had changed.
What I did, was add a field in the user table called Company Id.

THen when the user was added, I entered the same company_id number in this field on each of the users that wanted to log in.
On login, I checked the extra field and redirected to the one approriate customer record.
This solved the issue, and as a bonus, I could get stats from each individual login. Having everyone sign in with a common id and pswd takes away "exactly who and when did what".
My setup was pretty much hacked in there. Im just sharing a possible solution. Im sure with a bit of time and thought, you could use a mastertable link to the users table etc etc. and get phprunner to generate its code. Pretty powerful tool this is.