Redirect from within a custom Filter |
Hi there,
I'm struggling to perform what should be a simple redirect from within a custom Filter. I've followed the documentation (https://codeigniter4.github.io/userguide...lters.html) and the exact redirect example: return redirect()->to(site_url('login')); I can see in my network tab in Chrome that the redirect is supposedly occurring, but the page is not being redirected. The filter is being applied to a controller through routes, which uses Ajax, if that makes a difference. Thank you in advance for your assistance. (03-17-2022, 07:05 AM)stresbiz Wrote: Hi there, show us how you did Codeigniter First, Codeigniter Then You!!
yekrinaDigitals
|
Welcome Guest, Not a member yet? Register Sign In |