everurssantosh Posted March 23, 2009 Share Posted March 23, 2009 Hi, I want to kill the session varriables and form details of a page, once the back button is clicked or the page is refreshed by using F5 button in a PHP page. Now, hitting the back button and then F5, my page loads again resulting some redunant data which is not acceptable. I want to control this using PHP not with some Javascript restrictions which is again browser depenant and not more secured. Kindly help on this. Thanks Santosh Quote Link to comment https://forums.phpfreaks.com/topic/150727-page-refresh-problem/ Share on other sites More sharing options...
JonnoTheDev Posted March 23, 2009 Share Posted March 23, 2009 PHP is a server side language and has no way of affecting your web browser's functionality or detecting browser actions. You should modify your scripts so that a user clicking back or refresh will not affect the expected output. Quote Link to comment https://forums.phpfreaks.com/topic/150727-page-refresh-problem/#findComment-791854 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.