Im doing a website at the moment, basicly its like; bebo, myspace sort of style style (but franticly reduced in users).
I would like to know how to hold the time in which users have signed on so i can include a "last active" box for other users to see. However i dont understand how to do the las section.
This is basicly what i need:
- User logs in to db (storing that exact time and date).
- User does whatever and then logs out (storing that exact time(maybe if the session ends?)
- ?? then somehow another user can see the time in which they were last activly logged in the database.