• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Session timeout is determined by web.xml or weblogic.xml?

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I like to know if I have web.xml and weblogic.xml both define the session time out
which file is the one which actually dominate the application session time?
Anyone get an idea?

Using the following as the example, session will be expired in 10 minutes or 40 minutes?

======== web.xml ========
<session-config>
<session-timeout>10</session-timeout>
</session-config>


======== weblogic.xml ========
<session-descriptor>
<timeout-secs>2400</timeout-secs>
<cookie-name>AFSSESSIONID</cookie-name>
<cookie-comment>AFWEB Session Tracking Cookie</cookie-comment>
<persistent-store-type>replicated_if_clustered</persistent-store-type>
<url-rewriting-enabled>false</url-rewriting-enabled>
<encode-session-id-in-query-params>true</encode-session-id-in-query-params>
</session-descriptor>
 
Solo Chiang
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I found the answer myself,
it is web.xml who take the precedence if both web.xml and weblogic.xml has set the session time out
 
reply
    Bookmark Topic Watch Topic
  • New Topic