You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Boris Niyazov <ni...@solni.law.columbia.edu> on 2001/05/02 04:35:20 UTC

Re: session timeout

you probably can find in your web.xml:

<session-config>
   <session-timeout>
       	30
   </session-timeout>
</session-config>
    
units seconds
hth
*********************************************************************
* Boris Niyazov                Ph:  212-854-4094  Fax: 212-854-1749 *
* Systems Manager              Email: ban5@columbia.edu             * 
* Columbia Law School          URL: http://www.law.columbia.edu     *
*********************************************************************                               




>Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm
>list-help: <ma...@jakarta.apache.org>
>list-unsubscribe: <ma...@jakarta.apache.org>
>list-post: <ma...@jakarta.apache.org>
>Delivered-To: mailing list tomcat-user@jakarta.apache.org
>Date: Mon, 30 Apr 2001 16:17:23 +1000 (EST)
>From: teh j <to...@yahoo.com.au>
>Subject: session timeout
>To: tomcat-user@jakarta.apache.org
>MIME-Version: 1.0
>Content-Transfer-Encoding: 8bit
>X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N
>
>hi guys!
>
>just wondering if there some kind of session timeout
>on in Tomcat itself? If i leave a page that I am using
>sessions on for security for a while, and come back to
>it and try and do something on it, it gives me a
>message that suggests to me that there is some kind of
>timeout for sessions on the server. If there is, is
>there a way to alter its value?
>
>Document moved
>This document has moved here.
>
>Error: 500
>Location: /test/jason/add_event/add_event.jsp
>Internal Servlet Error:
>
>javax.servlet.ServletException
>	at
>org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.j
ava:459)
>	at
>jason.add_0005fevent._0002fjason_0002fadd_0005fevent_0002fadd_0005fevent_0002ej
spadd_0005fevent_jsp_83._jspService(_0002fjason_0002fadd_0005fevent_0002fadd_000
5fevent_0002ejspadd_0005fevent_jsp_83.java:218)
>	at
>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
>	at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>	at
>org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:
177)
>	at
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
>	at
>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
>	at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>	at
>org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
>	at
>org.apache.tomcat.core.Handler.service(Handler.java:286)
>	at
>org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>	at
>org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
>	at
>org.apache.tomcat.core.ContextManager.service(ContextManager.java:7
>
>
>_____________________________________________________________________________
>http://store.yahoo.com.au - Yahoo! Store
>- It's time you had your business online!

                                      - Boris



Re: session timeout

Posted by "John Clark L. Naldoza" <nj...@ntsp.nec.co.jp>.
Boris Niyazov wrote:
> 
> you probably can find in your web.xml:
> 
> <session-config>
>    <session-timeout>
>         30
>    </session-timeout>
> </session-config>
> 
> units seconds
> hth
> *********************************************************************
> * Boris Niyazov                Ph:  212-854-4094  Fax: 212-854-1749 *
> * Systems Manager              Email: ban5@columbia.edu             *
> * Columbia Law School          URL: http://www.law.columbia.edu     *
> *********************************************************************

Hi,


Kindly check the web.dtd before coming up with this conclusion...;-)

According to the web.dtd

<!ELEMENT session-config (session-timeout?)>

<!-- The session-timeout element defines the default session timeout
interval for all sessions created in this web application. The
specified timeout must be expressed in a whole number of minutes. -->


;-)

Cheers,


John Clark

-- 
     /) John Clark Naldoza y Lopez                           (\
    / )    Software Design Engineer II                       ( \
  _( (_    _  Web-Application Development                    _) )_
 (((\ \>  /_>    Cable Modem Network Management System <_\  </ /)))
 (\\\\ \_/ /         NEC Telecom Software Phils., Inc.  \ \_/ ////)
  \       /                                              \       /
   \    _/  phone: (+63 32) 233-9142 loc. 3112            \_    /
   /   /  cellphone: (+63 919) 399-4742                     \   \
  /   / email: njclark@ntsp.nec.co.jp                        \   \