My requirement is to notify the user with a popup saying that the user session is about to time out in x seconds in case user does not perform any activity on the web page.<
Either it may be simple servlet, spring-mvc or spring-security auto logout is not possible without perfect client side logic.
Considering application will have both type of request
Auto logout needs very calculated logic. Presenting my autologout functionality implementation with following
1. Include auto logout script in required JSP pages as given below.
....