开发者

Login/Log Out sample application is Struts 2 problem

开发者 https://www.devze.com 2023-02-09 03:33 出处:网络
Login/Log Out sample application is Struts 2 what are the additional technologies used in order to make a logged-out user unable to login back by using

Login/Log Out sample application is Struts 2

what are the additional technologies used in order to

make a logged-out user unable to login back by using

back button of the browser ?

please give the sample开发者_JAVA百科 code also

when using struts 2 and its session invalidation is not giving the above mentioned result.


use this scriptlet

response.setHeader("Cache-Control","no-cache"); //HTTP 1.1 
response.setHeader("Pragma","no-cache"); //HTTP 1.0 
response.setHeader("Cache-Control","no-store");
response.setDateHeader ("Expires", 0); 
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号