Re: Can a script run twice?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 23, 2006 1:08 pm, Lester Caine wrote:
> IE does NOT process the link twice how ever I try and since all the
> user
> sites are IE they should be OK.
> Moz, Firefox and Sea Monkey *DO* run the link twice, and any code
> attached to that link.
> I can't believe that this has not surfaced before. I should not need
> to
> prevent duplicate actions, but it looks as that is required by the
> Mozilla browsers :(

I can't believe IE has so little faith in its users' that it blocks
double-click on a form button... Oh, wait.  It's MS.

Look, just dump out a uniqid() when you send the form and log that ID.

Only accept *ONE* INSERT per ID.

Done.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux