[eluser]Maarten B[/eluser]
[quote author="Suanko" date="1227622215"]I wonder how to avoid two person to log with the same login/password though...[/quote]
I've made an application that prevents just that, for security reasons. Let's say a user is working on computer A and logged in. The user than walks to computer B and logs in again. My app allows this, but the session on computer A is then canceled, meaning that the user will see a login screen on computer A when he/she clicks on an action in the app on that computer.
I've done this by making a library that autoloads (directly after CI's database lib) and is always run first before the controller of a page is loaded. My library checks if a user is logged in and what the rights are that the user has. If the user was already logged in, the library destroys the original session and creates a new one.
As far as I know you have to program this yourself, it's not a feature of CI.
Good luck with it!
Maarten