Click here to Skip to main content
15,557,828 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi Experts,    
I am very thank full if you help me.     I have developed
one web application which can contain many users.    
I just want to prevent multi ple login in web application in terms of like -
          1.  If
User1
is logged In, form another browser or another machine the
User1
can              
not login untill previous login has been distroyed.
          2. If User1
Logged Out
from Browser "a" or Machine "a", from another machine or
        ;      
browser User1 can login.          
3. If Browser closed with Logout, User1 can login again from same browser or
              different
browser or machine.          
4. And The most important
point
is, Suppose Application, Machine Or b
rowser


             
close unexpectedly
, The into system.

Can u Help me? Thanks in advance.
Mahesh Patel.

Posted
Updated 17-Nov-10 18:47pm
v5
Comments
Mohd Wasif 17-Nov-10 23:53pm    
Clarify ur question.

 
Share this answer
 
use data base.there u make table with u_name pass and status value...

if user1 has entered into page then update the status online..now check the condition in the table using queries if any user status is online then terminate the user..
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900