As a matter of fact, I just had the same "double submit" issue because of how chrome tries to load favicons.
I'd suggest adding a logger to verify what is going on: $logger = new Zend\Log\Logger; $writer = new Zend\Log\Writer\Stream(fopen(...)); $logger->addWriter($writer); $logger->log(Logger::DEBUG, 'Wrote a db record!' . var_export($_SERVER, true)); That will let you see what is going on and why. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 28 March 2014 15:46, donatello [via Zend Framework Community] < [email protected]> wrote: > There isn't a double submit Marco. I did a sample exemple without form, a > simple > > $tablegateway->insert($data) > > and i have two identical entry in the DB!! WHy?!?! > > It make me crazy!! It's a week the i'm searching the solution... > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://zend-framework-community.634137.n4.nabble.com/Double-insert-in-the-database-with-form-in-zend-2-2-y-2-3-tp4661919p4661929.html > To start a new topic under Zend Framework, email > [email protected] > To unsubscribe from Zend Framework Community, click > here<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=634137&code=b2NyYW1pdXNAZ21haWwuY29tfDYzNDEzN3wxNzE0OTI1MTk4> > . > NAML<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Double-insert-in-the-database-with-form-in-zend-2-2-y-2-3-tp4661919p4661930.html Sent from the Zend Framework mailing list archive at Nabble.com.
