View Full Version : Loggin system help/advice?

01-31-2007, 11:03 AM

I need a little help please. What i would like to do is:

Have a login system that i can assign usersnames/passwords to but this system has to record when the user was logged in to it (date/time). Are there any free systems out there that can do this?

Many thanks

01-31-2007, 12:46 PM
You could google or look around aspin for scripts.

Here is an example of a Login script

It doesn't record logins, but could easily be edited to do it.
A common method is to have a field for lastActive date/time. You can also add an Active or Online field.
When the user logs in it is set to the current date/time. As a user navigates the site the field is updated.
If the lastActive field is 20 mins before the current time then the user is logged out/set as inactive.