How to get session time out message using Spring security

前端 未结 5 1485
悲哀的现实
悲哀的现实 2020-12-10 16:41

I want to get the session time out message when the session expires.Below is my spring-security.xml



        
5条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-10 17:15

    In your case what happens is when a user logout, the session is first invalidated then session management will get trigger. When session management come in, and found out the session has already gone, then sessionTimeout page will be redirect. So it will be better to set the invalidate-session of logout tag as false.

    
    

提交回复
热议问题