I have created one table which includes user id,name, login time and logout time and status filed
So when a new user logged(clicks on login button) in then it will be inserted into the database and status field will be set to 1 and when he clicks on logout button then status field will be set to zero. And if the user id for example 2002 is already their in the database and not logged in,and when he logged in then only status field will change from 0 to 1.
Till This i have finished with coding and designing
So Now i need to fetch the user id and name from the table to the form and display some popup message whose status is 1 that is when new user logged in to system. (Notification message to the user already logged in) that user id with name is logged into the system
Abhimanyu K VatsaPosted Jun 16, 2010, 5:03 AM
i understand your problem. if you are developing windows based application then it will be as u want but if web based then the totally concept will be different.
in web based application u have to Global.asax file to trace all status of users as u wish.
good luck