Answer the question
In order to leave comments, you need to log in
How to properly implement session checking in CodeIgniter?
Good evening.
I just started to delve into php frameworks, so such a question about authorization -
How best to implement the admin session check?
That is, make a separate controller for the admin, consisting only of admin functions and check the session at the very beginning, or add the same functions to other controllers (for example, a controller that works with blog posts, and there is also a function that allows you to edit / delete them) and carry out check directly in them?
I apologize if I described it incorrectly somewhere,
thanks in advance for your help
Answer the question
In order to leave comments, you need to log in
What is the best way to implement admin session checking?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question