开发者

Login/Log Out sample application is Struts 2 problem

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜