Programing

Apache Tomcat 애플리케이션에 대한 기본 세션 제한 시간

lottogame 2020. 9. 24. 08:10
반응형

Apache Tomcat 애플리케이션에 대한 기본 세션 제한 시간


Tomcat5.5에 배포 된 웹 응용 프로그램의 기본 세션 시간 제한은 무엇입니까? 특정 브라우저입니까? 내 웹 응용 프로그램에서 기본 제한 시간은 web.xml코드 나 코드 모두에서 언급되지 않습니다.


$CATALINA_BASE/conf/web.xml이것을 열고 찾으십시오.

<!-- ==================== Default Session Configuration ================= -->
<!-- You can set the default session timeout (in minutes) for all newly   -->
<!-- created sessions by modifying the value below.                       -->

<session-config>
  <session-timeout>30</session-timeout>
</session-config>

모든 웹앱은이 기본 웹 설명자에서 암시 적으로 상속합니다. session-config와 web.xml에 정의 된 다른 설정을 재정의 할 수 있습니다.

이것은 실제로 내 Tomcat 7 (Windows)에서 왔지만 5.5 conf는 크게 다르지 않다고 생각합니다.

참고 URL : https://stackoverflow.com/questions/14433070/default-session-timeout-for-apache-tomcat-applications

반응형