Welcome Guest, Not a member yet? Register   Sign In
CI session not working properly
#9

[eluser]Derek Allard[/eluser]
Its not that I can't read your code, its that I want to reduce the problem down to only the session so that we can squarely say "the session isn't working". For example, in the code you gave me above, if $user was set to "NULL", then it would be passing a null value, and this would explain the symptoms you see.

In your case above, you are setting a session with the value of $user, but I don't see your user variable defined. I do see a $uname, but don't know where $user is coming from. This is probably the error.

The reason I was trying to get you to reduce down is that you could see that session is working, and focus on why the value isn't getting passed as expected.

Good luck, and welcome to CodeIgniter!


Messages In This Thread
CI session not working properly - by El Forum - 04-11-2008, 10:30 PM
CI session not working properly - by El Forum - 04-12-2008, 11:25 AM
CI session not working properly - by El Forum - 04-12-2008, 03:46 PM
CI session not working properly - by El Forum - 04-12-2008, 09:10 PM
CI session not working properly - by El Forum - 04-12-2008, 09:36 PM
CI session not working properly - by El Forum - 04-12-2008, 09:40 PM
CI session not working properly - by El Forum - 04-12-2008, 09:42 PM
CI session not working properly - by El Forum - 04-12-2008, 09:46 PM
CI session not working properly - by El Forum - 04-13-2008, 06:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB