CodeIgniter Forums
Where to check Cookie? - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived General Discussion (
+--- Thread: Where to check Cookie? (/thread-40210.html)

Where to check Cookie? - El Forum - 04-01-2011


my codeigniter application has some controllers. Now i want to check whether a user is already logged in or not, when not then i want to check cookie to get the login information. Should i add the piece of code for checking the cookies in all constructors of the controllers or is there any another way to do it more efficiently?