Welcome Guest, Not a member yet? Register   Sign In
verify user session...
#1

[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
#2

[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.




Theme © iAndrew 2016 - Forum software by © MyBB