tomcat redirects to inner div instead to login page -


in web.xml in tomcat have defined timeout our application, when after session timeout should redirect login page. happens this, not redirect automatically after user action, when user action occurs login page loaded inside inner div of main screen, instead redirect.
more info: spa , use div elements load content via ajax. searched tomcats' official docs , nothing. same goes when using filter. suggestions can cause ?

what seems happen ajax request hitting timeout , gets login page response. client side code rendering response (login page) in inner div.
known issue , suggest start taking @ stackoverflow thread has many suggestions dealing session timeout handling ajax calls.
depending on frameworks using in application, there many articles how deal issue, example:


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -