you can have a boolean value at the DB which will be default to zero. once
he is logged in make that to 1.
when he logs out make that to zero again. in this way if he logs in again
you can check the value in the DB and prevent him.

HTH

 Regards

 Ramesh Kesavanarayanan
 [EMAIL PROTECTED]



-----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
This e-mail and any files transmitted with it are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or 
copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.

                Visit us at http://www.cognizant.com

Reply via email to