After logout the user is directed to login page. Now, if user clicks on back button it should stay on login page itself. How can I make it possible by using code in java? I have used Servlet Filter... Tried invalidating session.I have even tried clearing cache(Expires, Cache-Control, Pragma).But got no success yet. Or maybe Iām using this in wrong way. Please guide me the correct way.
Asked
Active
Viewed 2,776 times
0
-
invalidating the session should work fine. Can you show us some code so we can help you more? ā Tom Nov 06 '12 at 12:54
-
Checkout the link below, have answered it already here: http://stackoverflow.com/questions/26420941/how-handle-browser-back-button-in-spring-mvc/31217043#31217043 ā Shahid Yousuf Jul 04 '15 at 05:25