Lectrician
03-18-2009, 04:20 AM
I have a Perl script which creates a form.
This form is submitted to a PHP script which executes, plays with the code, and then automatically submits a hidden form itself back to my Perl script.
This means I have an 'empty' page inthe browsers history. If you click the back button you get the white page with "page expired". If you hit refresh the PHP script re-runs and causes issues as it uploads some files again.
Is there a way with javascript to force the page to be almost "invisible" if you like. If someone hits the back button and comes to this page, the page will cause them to jump back one page further?
Any info appreciated!
This form is submitted to a PHP script which executes, plays with the code, and then automatically submits a hidden form itself back to my Perl script.
This means I have an 'empty' page inthe browsers history. If you click the back button you get the white page with "page expired". If you hit refresh the PHP script re-runs and causes issues as it uploads some files again.
Is there a way with javascript to force the page to be almost "invisible" if you like. If someone hits the back button and comes to this page, the page will cause them to jump back one page further?
Any info appreciated!