Reply to Re: Table schema for user login system?

Your name:

Reply:


Posted by Michael Fesser on 09/29/07 19:17

..oO(Dikkie Dik)

>Login tables tend to store a lot of things that just do not belong
>there. An account is just an account. It is not a user, and it is not an
>activation.

In my system one account = one user. The accounts table keeps user
names, login names, password hashes, account creation and expiration
dates, date of last login, privilege and status flags and such things.

Additional user data like special profiles, addresses, contacts etc. are
stored in other tables.

>- There can be more types of account per user (say, a web account and an
>office account. Activations are totally different for "near" or remote
>accounts)

I can apply different roles (user groups) to each account.

Micha

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация