method or function called twice but only with one browser - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: method or function called twice but only with one browser (/showthread.php?tid=56666) |
method or function called twice but only with one browser - El Forum - 01-10-2013 [eluser]GabrieleMartino[/eluser] Hello everybody, I have a function in my method 'enter' Code: $this->chats_model->add_message(...); called twice with Mozilla or 1 with others browser. It should be executed once instead I have two records in the database. With Chromium and Konqueror works fine. Thanks for help method or function called twice but only with one browser - El Forum - 01-10-2013 [eluser]GabrieleMartino[/eluser] I found the solution on another thread, anyway it was to put the tag Code: <meta http-equiv="Content-Type" c charset=utf-8" /> At top of his page. |