Forums
This topic is locked
Display ALL logged in Users
Posted 11 May 2007 20:15:31
1
has voted
11 May 2007 20:15:31 Mike Leslie posted:
I have a instant messaging system and would like to be able to display the logged in users (MM_Username). I record the successful logins into a table with time, i think a boolean column in the database or a server variable would work? www.gohbcc.com/CallCenter/LOGIN.aspReplies
Replied 16 May 2007 21:28:06
16 May 2007 21:28:06 dave blohm replied:
More details please...does the successful login table keep ALL successful logins or just the LAST successful login?
- Doc
Progress is made by the discontent.
Edited by - daveblohm on 16 May 2007 22:32:59
- Doc
Progress is made by the discontent.
Edited by - daveblohm on 16 May 2007 22:32:59
Replied 16 May 2007 22:53:11
16 May 2007 22:53:11 Mike Leslie replied:
I am recording all successful and all failed logins in 2 different tables, i made a booloean column that now shows true or false if the user is logged in, and have a drop-down with logged in users (to send message). The only problem is if the user does not log out(closes browser) or the session expires then they still are shown as logged in -True value in the db(access 2003). I am now looking for a way to change the value to false when the session variable is terminated - by the server. I also made a brute force blocker that the admin can enter the number of attempts before being blocked out (from a browser). I also made the ability to permenantlly block a ip address that has tried to login unsuccessfully. All with dreamweaver and a little asp If Then tricks. Any ideas about how to set the boolean field to false when the session is terminated by the server or the client closes browser without logging off?