Welcome Guest, Not a member yet? Register   Sign In
Can't use sessions with HMVC
#1

[eluser]Unknown[/eluser]
Hi,

I've just started using the HMVC, everything works perfect, but when I try to use $this->session->adminlogged, I get:

Code:
Call to undefined method CI_Session::adminlogged()

Even though I have autoloaded the session library, and I have also tried loading the library within the controller. Urgent help is required Sad! Many Thanks
#2

[eluser]WanWizard[/eluser]
The session library doesn't have a method called adminlogged(). What are you trying to call here?
#3

[eluser]Unknown[/eluser]
ohh! I got it, so I have to use userdata all the times to check a session!! Thanks mate for the tip




Theme © iAndrew 2016 - Forum software by © MyBB