Skip to main content
Inspiring
March 5, 2008
Question

counting number of logins in different pc

  • March 5, 2008
  • 1 reply
  • 297 views
hi all,

before i want to use database, i want to know if is there any scope in coldfusion variables that can be applied in counting the number of logins of a certain user regardless of what PC he is using? I mean basically the logic is similar to this:

countA = 0
If User A logs in in Computer A using browser IE Then
countA = 1

If User A logs in in Computer A again using browser IE Then
countA = 2

If User A logs in in Computer A again using browser Firefox Then
countA = 3

If User A logs in in Computer B using browser IE Then
countA = 4

If User A logs in in Computer B again using browser IE Then
countA = 5

If User A logs in in Computer B again using browser Firefox Then
countA = 6

Note: user did not logout or close the browser after login.

I am not sure if using variables makes sense at all. But I'm just curious. Thanks.
    This topic has been closed for replies.

    1 reply

    Prasanth_Kumar_S
    Inspiring
    March 5, 2008
    Hi,
    You can use the Session Variables and functions to accomplish this.

    -Prasanth