hooks : How to access session userdata in HOOKS - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: hooks : How to access session userdata in HOOKS (/showthread.php?tid=26629) |
hooks : How to access session userdata in HOOKS - El Forum - 01-19-2010 [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. hooks : How to access session userdata in HOOKS - El Forum - 01-19-2010 [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. |