I have developed 2 Database using MySQL and PHP.
I have created member table in which there is a type of user.
On basis of type I restricted user to view private pages.
Now I wanted to check status of users. when they login, logout means timing of the users.