Welcome Guest, Not a member yet? Register   Sign In
hooks : How to access session userdata in HOOKS

I am using hooks for checking whether user is logedin or not in pre_controller point. but I am not able to access session's userdata. how to access it or is it a right way to access session data.

I got the solution I used "post_controller_constructor" point for hooks and I got instance of CI in class mention in array.
and now everything is in my hand.


Theme © iAndrew 2016 - Forum software by © MyBB