On 5/23/06, Lester Caine <lester@xxxxxxxxxxx> wrote:
I'm having very occasional problems with my PHP5 applications which only seem to be explained if the script is run twice. Example - page has 'Add Ticket' button, which adds a record and marks it as being processed by the location that created it. 99.99% of the time no problems, but just now and again there are two records, with different primary keys - so the database bit worked - but with very close now times and identified as being at the same counter. The next page does not have the 'Add Ticket' button, so it would seem the first script was trigger twice? Am I simply going mad ( which is the logical choice ;) ), or is this something that can happen and needs to be handled?
Someone hitting refresh prematurely? -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php