![]() |
URI variable changes(?) when set in a session - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: URI variable changes(?) when set in a session (/showthread.php?tid=26791) |
URI variable changes(?) when set in a session - El Forum - 01-23-2010 [eluser]Unknown[/eluser] Dear CI community, I have previously received great help from you when in trouble. Once more have I come across a problem where I can not find a solution. I have tried searching the forum and google, and have also done a lot of debugging. Please let me explain my issue and see if anyone can point me in the right direction. I am making a step-by-step wizard for people who want to notify to a dog-competition. In the process of notifying, they have to fill in 3 forms with information about their hounds. I have divided the steps in 3 controllers. To keep track of the hound between the controllers, I want store an ID in a session. The core of the problem, is that sometimes the ID isn't stored, instead the word(?) "images" is stored. (the other session values, the default ones, are stored correctly) I say sometimes because it seems to happen a bit random. It happens both on Firefox and Chrome. It seems to happen more often with Chrome. When the correct value has been stored once, it all seems to work accurately, and change depending on what I pass to the controller. This is my code for the first controller: Code: function edit_basic($houndID = FALSE) I am using the latest CI (1.7.2) and I am autoloading the session library. PHP Version 5.2.9. If anyone could point me to where my problem could be, or where I can look to find a solution, I would be very glad! Best Regards Johan |