and this timeout seconds you can store it in a property file to read from
your application.


 Regards

 Ramesh Kesavanarayanan
 [EMAIL PROTECTED]
 +91-44- 811 3063 ext 2232 VNet- 42425



-----Original Message-----
From: Peter Dolukhanov [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 28, 2002 4:42 PM
To: [EMAIL PROTECTED]
Subject: Re: How should i proceed with


A small concern with this is if the user's network connection dies, or
the user closes his browser without properly logging off. To circumvent
this you should have a method which is called whenever the session
time's out (expires) and performs the same function to reset that value
in the DB.

Regards,
Peter

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]] On Behalf Of Kesavanarayanan, Ramesh
(Cognizant)
Sent: 28 November 2002 06:18
To: [EMAIL PROTECTED]
Subject: Re: How should i proceed with

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

===========================================================================
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