When user logs in just update a field in the database that he is active. If
he tries to access from some where else then check this field .. if he is
not active then give login or else give error message. But do not forget to
reset this field when he logsout of the system.

Hope this helps,
Srinu

-----Original Message-----
From: V.T.R.Ravi Kumar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 28, 2002 10:17 AM
To: [EMAIL PROTECTED]
Subject: How should i proceed with


Hi ,

I have a situtation where in i have to restrict the access of an user in
such way that the user has just one session . that is if he is logged at
present then don't let him log again from any other pc until he logs of from
the previous window ..

How should i proceed with to achieve this....
----------------------------------------------------
        V.T.R.Ravi Kumar
Engineer,CCX,BHEL, Haridwar
Phone : Office-91-0133-485260
             Res  -91-0133-426121
-----------------------------------------------------

==========================================================================To
unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to