Hi, Raghavendra i Rao,
1 set Session Timeout.
HttpSession's method setMaxInactiveInternal(int TimeoutSeconds);
2. check Session
<%
   Object  s = session.getAttribute("MemberID");
%>
<% if ( s == null)
   {
      redirect here ...
   }
%>


Let's share our experience!
Regards,
jdeveloper
[EMAIL PROTECTED]
http://jdeveloper.yeah.net

At 00-7-26 ���� 03:18:00 you wrote:
>How can I timeout a session using JSPs ?? i.e if the User is initially logs into my 
>web site and then is idle for 15 minutes I want to timeout his sesion .After the 
>timeout, if the User clicks on anything on the existing page I want to redirect him 
>to the Login page of the application.  Also if he goes back in the browser (Using the 
>Back button) I do not want to allow him to do that. I am quite new to JSP and hence 
>any help will be highly appreciated.
>Thanks in advance.
>
>
>_________________________________________________
>Get Your Free Email At, http://www.rediffmail.com
>
>Partcipate in crazy Re.1 auctions at http://www.rediff.com/auctions
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to