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

[eluser]cybiko123[/eluser]
No, still nothing.

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

[eluser]bobbob[/eluser]
what is your form action url?
#13

[eluser]bobbob[/eluser]
just saw that it is correct
#14

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

[eluser]cybiko123[/eluser]
I'm getting the same error as before (Undefined property: Login::$session).
#16

[eluser]gvillavizar[/eluser]
Can you please post your view? Or at least where you're seeing the sessions you create.
#17

[eluser]InsiteFX[/eluser]
From your error code the problem is in the login function.

InsiteFX
#18

[eluser]evolutionxbox[/eluser]
[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.
#19

[eluser]cybiko123[/eluser]
Sorry, I misread your post.

Yes, it works fine with that commented.




Theme © iAndrew 2016 - Forum software by © MyBB