用户点击后退按钮后退出停留在同一页面上

时间:2021-06-10 01:18:13

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.

注销后,用户将被定向到登录页面。现在,如果用户点击后退按钮,它应该保留在登录页面上。如何通过在java中使用代码来实现它?我使用过Servlet过滤器...试过无效会话。我甚至尝试过清除缓存(Expires,Cache-Control,Pragma)。但是还没有成功。或者我可能以错误的方式使用它。请指导我正确的方法。

1 个解决方案

#1


0  

The below posts might give you an idea about how to handle such cases

以下帖子可能会让您了解如何处理此类案例

#1


0  

The below posts might give you an idea about how to handle such cases

以下帖子可能会让您了解如何处理此类案例