Page Refresh Problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
everurssantosh
Forum Newbie
Posts: 13
Joined: Wed Jun 25, 2008 10:26 am

Page Refresh Problem

Post by everurssantosh »

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
wellhole
Forum Newbie
Posts: 16
Joined: Mon Mar 23, 2009 1:38 pm

Re: Page Refresh Problem

Post by wellhole »

The only suggestion I can give you is to use frames or iframe and have the internal document target _top. This will surely clear out the content in the form.
Post Reply