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

[eluser]pankaj[/eluser]
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.
#2

[eluser]pankaj[/eluser]
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.

Smile




Theme © iAndrew 2016 - Forum software by © MyBB