Click here to Skip to main content
15,887,485 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: programming G510 Pin
JR21228-Aug-12 8:09
JR21228-Aug-12 8:09 
GeneralRe: programming G510 Pin
Eddy Vluggen28-Aug-12 8:34
professionalEddy Vluggen28-Aug-12 8:34 
QuestionAddHandler and RemoveHandler Pin
biop.codeproject27-Aug-12 20:36
biop.codeproject27-Aug-12 20:36 
AnswerRe: AddHandler and RemoveHandler Pin
Simon_Whale27-Aug-12 22:50
Simon_Whale27-Aug-12 22:50 
GeneralRe: AddHandler and RemoveHandler Pin
biop.codeproject28-Aug-12 16:10
biop.codeproject28-Aug-12 16:10 
AnswerRe: AddHandler and RemoveHandler Pin
Shameel28-Aug-12 15:06
professionalShameel28-Aug-12 15:06 
QuestionControlling No. of Loggeed users Pin
SPSandy26-Aug-12 22:49
SPSandy26-Aug-12 22:49 
AnswerRe: Controlling No. of Loggeed users Pin
Eddy Vluggen27-Aug-12 0:12
professionalEddy Vluggen27-Aug-12 0:12 
To answer that, you'll have to define "logged in user".

Assuming your users are listed in the database; add a table that references the users, and which adds a timestamp. Add a record when a user logs in. This is the "login-time". You could add a second, which gets updated with every action (over a trigger), called "last activity".

Problem; users do not always log out as required. Computers die, networks die, hence, connections die without notifying that the user is no longer active. Solution; consider every user active with a login-time that's not older than "today", and a last-activity not older than an hour or two. Require the inactive users to log in again, and you're there.
Bastard Programmer from Hell Suspicious | :suss:
if you can't read my code, try converting it here[^]

GeneralRe: Controlling No. of Loggeed users Pin
SPSandy27-Aug-12 6:42
SPSandy27-Aug-12 6:42 
GeneralRe: Controlling No. of Loggeed users Pin
Eddy Vluggen27-Aug-12 8:01
professionalEddy Vluggen27-Aug-12 8:01 
GeneralRe: Controlling No. of Loggeed users Pin
SPSandy28-Aug-12 6:48
SPSandy28-Aug-12 6:48 
GeneralRe: Controlling No. of Loggeed users Pin
Eddy Vluggen28-Aug-12 8:05
professionalEddy Vluggen28-Aug-12 8:05 
AnswerRe: Controlling No. of Loggeed users Pin
pramod.hegde27-Aug-12 3:28
professionalpramod.hegde27-Aug-12 3:28 
GeneralRe: Controlling No. of Loggeed users Pin
SPSandy27-Aug-12 6:46
SPSandy27-Aug-12 6:46 
GeneralRe: Controlling No. of Loggeed users Pin
pramod.hegde27-Aug-12 6:52
professionalpramod.hegde27-Aug-12 6:52 
GeneralRe: Controlling No. of Loggeed users Pin
SPSandy28-Aug-12 6:49
SPSandy28-Aug-12 6:49 
QuestionSOAP Data: How to Convert Different Datatypes? Pin
Sonhospa24-Aug-12 1:47
Sonhospa24-Aug-12 1:47 
AnswerRe: SOAP Data: How to Convert Different Datatypes? Pin
Abhinav S24-Aug-12 2:15
Abhinav S24-Aug-12 2:15 
GeneralRe: SOAP Data: How to Convert Different Datatypes? Pin
Sonhospa24-Aug-12 2:55
Sonhospa24-Aug-12 2:55 
QuestionToo many Connections in MySQL Pin
SPSandy23-Aug-12 22:41
SPSandy23-Aug-12 22:41 
AnswerRe: Too many Connections in MySQL Pin
David Mujica24-Aug-12 2:10
David Mujica24-Aug-12 2:10 
GeneralRe: Too many Connections in MySQL Pin
Dave Kreskowiak24-Aug-12 4:26
mveDave Kreskowiak24-Aug-12 4:26 
GeneralRe: Too many Connections in MySQL Pin
SPSandy24-Aug-12 6:41
SPSandy24-Aug-12 6:41 
GeneralRe: Too many Connections in MySQL Pin
Dave Kreskowiak24-Aug-12 9:47
mveDave Kreskowiak24-Aug-12 9:47 
AnswerRe: Too many Connections in MySQL Pin
Eddy Vluggen25-Aug-12 6:23
professionalEddy Vluggen25-Aug-12 6:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.