开发者

Block the user to see the result page when not login

I'm using web application, struts an开发者_如何学运维d hibernate are the technologies used in that application. When user login, it traverse from login page to result page. My question is, how do i prevent the user when not login, user should not allow to see the result page using the url of the result page directly. i.e means hitting the result page url in browser. For e.g: login page url --> //localhost:8080/Log/login.action

result page url --> //localhost:8080/Log/details.action

Appreciate your help.


You check in all the pages if the user is logged in, and if not, redirect them back to the login page

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜