Set session's expiration time in web.xml

<! - set the lifetime of the Session: in minutes ->
     <the session-config>
        <session-timeout>15</session-timeout>
    </session-config>

Guess you like

Origin blog.csdn.net/abc_123456___/article/details/88648313