Groups > Weblogic > WebLogic Servlet > Re: Session timout in Weblogic Server 9.2




Re: Session timout in Weblogic Server 9.2

Re: Session timout in Weblogic Server 9.2
Wed, 23 Jan 2008 18:10:02 -080
By default, the session timeout seconds is 3600, ie, an hour. 

In case you have specified weblogic-application.xml or weblogic.xml, you can add
a descriptor "session-descriptor" to set session-timeout seconds. 

Here is a sample to set the timeout to 2 hours.
file: weblogic.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90">
  <session-descriptor>
    <timeout-secs>7200</timeout-secs>
  </session-descriptor>
</weblogic-web-app>

For more detail about session descriptor, please refer to
http://e-docs.bea.com/wls/docs92/webapp/weblogic_xml.html#wp1071982

Thanks,
Post Reply
about | contact