double posting

    Date: 01/15/08 (PHP Community)    Keywords: browser

    What is the best way to prevent double posting when submitting a form.

    I have a form, and when someone clicks the submit button then refreshes the browser it double posts.
    I don't like throwing the post to another page, then a "Thanks for posting" as output. I like to keep it clean and simple and in one script.



    Thanks,

    Source: http://community.livejournal.com/php/610000.html

« Newbie here needs help with... || One more thing! Need help... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home