![]() |
[Solved] Codeigniter & google chrome CSRF works fine in firefox - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: [Solved] Codeigniter & google chrome CSRF works fine in firefox (/showthread.php?tid=66966) |
[Solved] Codeigniter & google chrome CSRF works fine in firefox - wolfgang1983 - 12-23-2016 Hi, I have everything working so far with CSRF and fire fox. How ever when I submit my form on google chrome my form validation error messages do not show up. But the show up in fire fox? Any suggestions Unless it's because CSRF is protecting form so I can only use one browser at a time? I have attached the view PHP Code: $config['cookie_prefix'] = 'ci_'; PHP Code: <?php RE: Codeigniter & google chrome CSRF works fine in firefox - wolfgang1983 - 12-24-2016 Solution for me now both browsers work fine now. I have had to create a vHost instead of just using normal localhost. And then on PHP Code: $config['cookie_prefix'] = 'ci_'; It's fun learning what works and does not. Not sure why vhost better? |