redirect() does not redirects |
Haha, I just answered a question from you on StackOverflow and here we meet again (I promise I'm not following you).
Have you tried using Filters? https://codeigniter4.github.io/userguide...lters.html The idea behind filters is precisely what you want to achieve: call a given method before (or after) every call to a controller. It is called "filters" because it can be used to prevent the user from accessing data without authentication, for example. Take a look and tell me if it doesn't fit your needs. |
Messages In This Thread |
redirect() does not redirects - by T.O.M. - 09-06-2020, 11:09 AM
RE: redirect() does not redirects - by SteeveDroz - 09-06-2020, 09:48 PM
RE: redirect() does not redirects - by chenzen - 09-06-2020, 11:42 PM
RE: redirect() does not redirects - by T.O.M. - 09-07-2020, 03:36 AM
RE: redirect() does not redirects - by T.O.M. - 09-07-2020, 03:21 AM
|