9
I am controlling the session of my application with Spring Security, I have two rules to end the session, max-Session
<session-management>
<concurrency-control max-sessions="1" error-if-maximum-exceeded="true"
expired-url="/publico/login.jsp" />
</session-management>
And there’s the timeout
<session-config>
<session-timeout>20</session-timeout>
</session-config>
Fixed the problem? What about the URL
/publico/login.jsp
, does not work when it expires? What if a file is created . jsp when it expires with the message when it closes the session?– Giancarlo Abel Giulian
I did not solve by spring, what I did was the following, when the time out it cuts my connection to the database and ended up dealing directly in java with Try cat in my connection. It wasn’t the right solution.
– roque