CodeIgniter back button after logout

后端 未结 6 1139
攒了一身酷
攒了一身酷 2020-12-04 02:02

I\'m trying to stop/disable the back button functionality of the browser when a user logs out of my CodeIgniter (PHP) app. But, I think the browser is caching the page so it

6条回答
  •  春和景丽
    2020-12-04 02:50

    You could use javascript to close the window after they logout - thus removing any ability to go back pages.

    Alot of online banks do this to solve this exact issue.

提交回复
热议问题