Is there a way to keep a page from rendering once a person has logged out but hit the “back” button?

前端 未结 16 2046
感情败类
感情败类 2020-12-01 05:18

I have some website which requires a logon and shows sensitive information.

The person goes to the page, is prompted to log in, then gets to see the information.

16条回答
  •  臣服心动
    2020-12-01 05:59

    Well, in a major brazilian bank corporation (Banco do Brasil) which is known by having one of the world´s most secure and efficient home banking software, they simply put history.go(1) in every page.So, if you hit the back button, you will be returned. Simple.

提交回复
热议问题