Forum Moderators: coopster
Next is, can you point me to a resource on the web (preferably here on Webmaster World) where I can find topics on how to make sure that no two same user can use a particular file/directory on the site. This means that one person logs in on a different PC using the same username and password, then another one would use the same set of username and password.
Thanks again for the help.
Although book tutorials are good, they don't often cover the configuration variables and intracacies of PHP Session handling [php.net].
How can I tell if the same userid is logged in at the same time from two different places? HTTP is a stateless protocol which means a connection is made, information is sent, and the connection is...well, disconnected. There is no way to check current active connections except through some sort of server-side management mechanism.