Login Counter

Results 1 to 2 of 2

Thread: Login Counter

  1. #1
    Join Date
    Dec 1969

    Default Login Counter

    I would like to count the number of times a user logs into my site yet I am not sure what code to use to add 1 to the number in the database for that user. the way I have it set up is a field called "NumLogin" in the table and thus I would begin the code with RS("NumLogin") = . I am new to ASP so I do not know much about VBscript yet if someone could help it would be great.

  2. #2
    Join Date
    Dec 1969

    Default RE: Login Counter

    newNumLogin = RS("NumLogin") + 1<BR>UPDATE TABLE SET NumLogin = " & newNumLogin & " _<BR>WHERE UserID = whatever, etc.

Posting Permissions

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