Where to check Cookie?

#1
[eluser]Peacemoon[/eluser]
Hi

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?

Thanks


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.