set_flashdata stays open |
(03-22-2021, 12:12 PM)pedreitor Wrote:Hi, I have more news.(03-18-2021, 02:27 PM)php_rocs Wrote: @pedreitor,Hi again, php_rocs. I have tried doing a print_r of $this->session->flashdata on the top of the header, inside de body tag (in wich the flashdata are displayed), and this is what I found. Array ( [usuario_logout] => [usuario_login] => [usuario_login_fallido] => [partido_actualizado] => El partido ha sido actualizado con éxito. [competicion_actualizada] => La competición ha sido actualizada con éxito. ) The messages appear in spanish because I'm from Spain. I try to translate as much as I could, but in this case, I think that is not important. The thing is that it doesn't seem to clear the variable after each redirect, so it concatenates each message, one after the other, and I think that's why it shows all of them at once, instead of just showing the last message and clearing itself. I really don't have a clue of what to do here. I'm really stuck on this. Any help is appreciated. Thanks in advance. |
Messages In This Thread |
set_flashdata stays open - by pedreitor - 03-16-2021, 04:16 AM
RE: set_flashdata stays open - by php_rocs - 03-16-2021, 06:55 AM
RE: set_flashdata stays open - by pedreitor - 03-17-2021, 09:05 AM
RE: set_flashdata stays open - by php_rocs - 03-18-2021, 08:04 AM
RE: set_flashdata stays open - by pedreitor - 03-18-2021, 12:03 PM
RE: set_flashdata stays open - by php_rocs - 03-18-2021, 02:27 PM
RE: set_flashdata stays open - by pedreitor - 03-22-2021, 12:12 PM
RE: set_flashdata stays open - by pedreitor - 03-22-2021, 02:20 PM
RE: set_flashdata stays open - by InsiteFX - 03-22-2021, 08:45 PM
RE: set_flashdata stays open - by pedreitor - 03-23-2021, 03:24 AM
RE: set_flashdata stays open - by php_rocs - 03-23-2021, 06:29 AM
RE: set_flashdata stays open - by demyr - 03-23-2021, 02:20 PM
|