Hi list, Don't you just hate the way that the POST method makes browsers act some times? Expiring pages and asking you if you really want to reload this page. I have found a solution. Instead of relying on the POST method to protect pages from being accessed twice, I use GET and at the end of a processing script using <? header("Location: next_page.html") ?> redirecting the client to the desired url. So when the client tries to go back and forth accessing pages with their browser, the processing page is virtually replaced with the url "next_page.html", thus stopping an additional posts. Hope this is useful.
<? /* Processing script */ if($submit){ /* Delete something with the database */ mysql("database", "delete from table where id = $id"); header("Location: next_page.html"); exit; } ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]