public void onSessionDestruction ( Request currentRequest , Session session ) { HttpServletResponse response = ( HttpServletResponse ) httpResponse . get ( ) ; storeSessionDataInCookie ( SESSION_TOKEN_KEY , null , response ) ; storeSessionDataInCookie ( USER_ID_KEY , null , response ) ; }
Notification of a session destruction .