Welcome Guest, Not a member yet? Register   Sign In
Session library fails to load

No, still nothing.

The error moved to a new line, but only because I added lines above it.

what is your form action url?

just saw that it is correct

Comment out this:
$this->session->set_userdata(array('username' => $username, 'password' => $correctPass));
...see if you get that error (just to make sure it works without it).

I'm getting the same error as before (Undefined property: Login::$session).

Can you please post your view? Or at least where you're seeing the sessions you create.

From your error code the problem is in the login function.


[quote author="Josh Anders" date="1270882236"]I'm getting the same error as before (Undefined property: Login::$session).[/quote]

How are you still getting it?
If you commented the lines I suggested, you should get no error at all.

Sorry, I misread your post.

Yes, it works fine with that commented.

Theme © iAndrew 2016 - Forum software by © MyBB