Guys how can i check in other modules if user is logged or not? Can i do that with sessions or Zend\Auth have better way to do that?
I created auth module using Zend \ Authentication component and evrything work fine.
I want separate my modules like this:
- Auth Module
- Custrommer Module
- Order Module
- Admin Module
No how with my existing Auth Module i can check in Admin, Order and Custommer modules if user logged or not? Does i need to create specific service for that?
I dont have to much expiriance with ZF, am in learing phase.
Any example and advice?