Welcome Guest, Not a member yet? Register   Sign In
Help: Having set_userdata issues
#18

[eluser]BrianDHall[/eluser]
Here is my thread about getting setup with debugging: http://ellislab.com/forums/viewthread/128333/

If you don't have a localhost server the super easiest way is download XAMPP and install it (gives you apache and php and everything), follow instructions linked in my thread for allowing XDebug to load (make sure your phpinfo() shows xdebug being loaded, this wasted a few hours of mine when I downloaded the wrong xdebug for my system under wampserver), then use netbeans and follow the minor instructions for getting it and CI to work with debugging.

The thing is, something is wrong outside of the code you are posting - perhaps in something that was extended, perhaps in a helper, somewhere something is wrong because the session class doesn't have these problems.

My bet is if you try a clean install of CI in another directory and put the basic session code you are trying to make work there, it will work perfectly.

The only good way to narrow it down is either A) backup your program into a zip, then start shredding away at files until you cut whatever is wrong out and therefore get closer and closer to what is doing it, or B) use debugging and step through your code keeping a close eye on what your CI session variables are and checking the trace stack even to see what is going wonky. You may need to step into and out of functions as you go to see what is going wrong.

In short, spending a day getting debugging working will be a less painful day than trying to find the source of what in hell is eating your sessions. The reported behavior of your code and sessions are illogical at best - it ought to work, and does work on our systems, so something is going on behind the scenes.


Messages In This Thread
Help: Having set_userdata issues - by El Forum - 09-21-2009, 09:52 PM
Help: Having set_userdata issues - by El Forum - 09-21-2009, 10:13 PM
Help: Having set_userdata issues - by El Forum - 09-21-2009, 10:23 PM
Help: Having set_userdata issues - by El Forum - 09-21-2009, 10:26 PM
Help: Having set_userdata issues - by El Forum - 09-21-2009, 11:23 PM
Help: Having set_userdata issues - by El Forum - 09-21-2009, 11:40 PM
Help: Having set_userdata issues - by El Forum - 09-22-2009, 08:47 AM
Help: Having set_userdata issues - by El Forum - 09-22-2009, 01:38 PM
Help: Having set_userdata issues - by El Forum - 09-22-2009, 01:40 PM
Help: Having set_userdata issues - by El Forum - 09-22-2009, 01:42 PM
Help: Having set_userdata issues - by El Forum - 09-22-2009, 01:47 PM
Help: Having set_userdata issues - by El Forum - 09-22-2009, 01:49 PM
Help: Having set_userdata issues - by El Forum - 09-22-2009, 01:50 PM
Help: Having set_userdata issues - by El Forum - 09-22-2009, 01:55 PM
Help: Having set_userdata issues - by El Forum - 09-22-2009, 02:07 PM
Help: Having set_userdata issues - by El Forum - 09-22-2009, 02:13 PM
Help: Having set_userdata issues - by El Forum - 09-22-2009, 02:18 PM
Help: Having set_userdata issues - by El Forum - 09-22-2009, 02:43 PM
Help: Having set_userdata issues - by El Forum - 09-22-2009, 07:17 PM
Help: Having set_userdata issues - by El Forum - 10-23-2009, 06:22 PM
Help: Having set_userdata issues - by El Forum - 10-23-2009, 08:47 PM
Help: Having set_userdata issues - by El Forum - 10-26-2009, 11:59 AM
Help: Having set_userdata issues - by El Forum - 10-26-2009, 06:15 PM
Help: Having set_userdata issues - by El Forum - 03-11-2010, 10:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB