![]() |
When I refresh a page it sends the same data - 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: When I refresh a page it sends the same data (/showthread.php?tid=34781) |
When I refresh a page it sends the same data - El Forum - 10-09-2010 [eluser]shinokada[/eluser] I have a following controller, model and view. When I refresh a page it sends the same data again. What am I doing wrong here? Thanks in advance. Code: //Controller When I refresh a page it sends the same data - El Forum - 10-09-2010 [eluser]Twisted1919[/eluser] Everythinbg seems fine, except maybe 2 things : 1) try : redirect('welcome/forms');exit(); 2) your form is vulnerable to xss attacks ![]() Code: $data = array( When I refresh a page it sends the same data - El Forum - 10-09-2010 [eluser]shinokada[/eluser] Thanks for your reply and tips. However it still re-send when I refresh or F5. When I refresh a page it sends the same data - El Forum - 10-09-2010 [eluser]shinokada[/eluser] I noticed that it happens with FF but not Chrome. I am using Ubuntu. Any idea? When I refresh a page it sends the same data - El Forum - 10-09-2010 [eluser]InsiteFX[/eluser] Maybe the browser is caching the page! InsiteFX |