https://bz.apache.org/bugzilla/show_bug.cgi?id=68449

--- Comment #2 from Rajkamal Pillai <jarka...@gmail.com> ---
Steps to replicate:

1. Set 
[code]

<session-config>
     <session-timeout>10</session-timeout>
     ...
</session-config>

[/code]

2. Start Tomcat (I am on Tomcat 9.0.83).

3. From Java Action execute - 
[code]

public void execute (HttpServletRequest request, HttpServletResponse response)
{
     request.getSession();
     session.setMaxInactiveInterval(30);
}

[/code]

4. Leave the application unattended for a while.

5. The session times out within 2 minutes and the User is redirected to the
login screen.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to