Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

counting number of logins in different pc

Participant ,
Mar 04, 2008 Mar 04, 2008
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.
256
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 04, 2008 Mar 04, 2008
LATEST
Hi,
You can use the Session Variables and functions to accomplish this.

-Prasanth
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources