Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jun 2006
    Posts
    46
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Loggin system help/advice?

    Hi,

    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

  • #2
    Senior Coder
    Join Date
    Nov 2002
    Location
    North-East, UK
    Posts
    1,265
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You could google or look around aspin for scripts.

    Here is an example of a Login script
    http://forums.aspfree.com/code-bank-...em-125958.html

    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •