![]() |
verify user session... - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: verify user session... (/showthread.php?tid=42837) |
verify user session... - El Forum - 06-21-2011 [eluser]henry178[/eluser] I have create a authentication system whit CI; i want to verity if user is logged for show the written: "Hi, Mario" or "Enter - Signup" in all pages of my site. I should verify session control in the view or in the controller? Please help me ... and sorry for my english verify user session... - El Forum - 06-21-2011 [eluser]ProImage Web[/eluser] It would probably be a good idea to check if the session exists in the controller, then perform your if statement. |