• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lost session

#11
[eluser]Coyoterj[/eluser]
Hi CI's friends,

I like CodeIgniter and participate in the brazilian forum.
I have a problem and before turning to the forum, I reduce my code to facilitate

In controller:

Code:
function update() {
    $this->segment = $this->uri->segment(4);
    print_r($this->segment);
    if ( !($this->session->userdata('produpId')) ) $this->session->set_userdata('produpId', $this->segment);
    var_dump($this->session->userdata('produpId'));

The result:
5
string(1) "5"

Then, a view is called with one only form and return for function update. The result
Code:
var_dump($this->session->userdata('produpId'));

bool(false).

I changed CI Session with PHP $_SESSION, and no problem... But I want to use CI Session.. ;-)

[To be] a bug [or not to be] a bug ?? :lol:

Thanks and good lucky for us!


Messages In This Thread
Lost session - by El Forum - 03-08-2008, 07:19 AM
Lost session - by El Forum - 03-09-2008, 04:35 PM
Lost session - by El Forum - 03-10-2008, 06:14 AM
Lost session - by El Forum - 03-10-2008, 07:55 AM
Lost session - by El Forum - 03-10-2008, 07:57 AM
Lost session - by El Forum - 03-10-2008, 12:00 PM
Lost session - by El Forum - 03-10-2008, 12:55 PM
Lost session - by El Forum - 03-10-2008, 05:19 PM
Lost session - by El Forum - 03-12-2008, 09:00 AM
Lost session - by El Forum - 03-12-2008, 09:29 AM
Lost session - by El Forum - 03-12-2008, 01:30 PM
Lost session - by El Forum - 03-12-2008, 01:32 PM
Lost session - by El Forum - 03-12-2008, 03:33 PM
Lost session - by El Forum - 03-17-2008, 06:55 AM
Lost session - by El Forum - 03-25-2008, 08:10 PM
Lost session - by El Forum - 03-25-2008, 08:32 PM
Lost session - by El Forum - 03-25-2008, 08:39 PM
Lost session - by El Forum - 03-25-2008, 08:42 PM
Lost session - by El Forum - 03-25-2008, 09:57 PM
Lost session - by El Forum - 03-27-2008, 08:33 AM
Lost session - by El Forum - 03-27-2008, 08:45 AM
Lost session - by El Forum - 03-27-2008, 09:44 PM
Lost session - by El Forum - 03-28-2008, 01:44 AM
Lost session - by El Forum - 03-28-2008, 04:53 AM
Lost session - by El Forum - 03-28-2008, 10:33 AM
Lost session - by El Forum - 04-22-2008, 12:37 AM
Lost session - by El Forum - 05-28-2008, 06:40 AM
Lost session - by El Forum - 05-29-2008, 05:41 PM
Lost session - by El Forum - 05-29-2008, 07:02 PM
Lost session - by El Forum - 06-18-2008, 08:45 PM
Lost session - by El Forum - 06-18-2008, 08:55 PM
Lost session - by El Forum - 06-18-2008, 11:36 PM
Lost session - by El Forum - 06-19-2008, 05:00 AM
Lost session - by El Forum - 06-19-2008, 05:10 AM
Lost session - by El Forum - 06-19-2008, 05:24 AM
Lost session - by El Forum - 06-19-2008, 05:28 AM
Lost session - by El Forum - 06-19-2008, 08:32 AM
Lost session - by El Forum - 06-23-2008, 09:16 AM
Lost session - by El Forum - 07-17-2008, 12:36 PM
Lost session - by El Forum - 07-29-2008, 05:35 PM
Lost session - by El Forum - 07-30-2008, 07:35 PM
Lost session - by El Forum - 07-30-2008, 08:05 PM
Lost session - by El Forum - 08-24-2008, 09:29 PM
Lost session - by El Forum - 02-10-2009, 04:41 PM
Lost session - by El Forum - 04-16-2009, 08:57 AM
Lost session - by El Forum - 04-22-2009, 01:14 AM
Lost session - by El Forum - 04-22-2009, 03:59 AM
Lost session - by El Forum - 04-22-2009, 10:48 AM
Lost session - by El Forum - 04-22-2009, 11:40 PM
Lost session - by El Forum - 04-23-2009, 01:45 AM
Lost session - by El Forum - 04-23-2009, 01:51 AM
Lost session - by El Forum - 04-23-2009, 01:55 AM
Lost session - by El Forum - 04-23-2009, 01:57 AM
Lost session - by El Forum - 04-23-2009, 01:59 AM
Lost session - by El Forum - 04-23-2009, 02:23 AM
Lost session - by El Forum - 04-23-2009, 12:18 PM
Lost session - by El Forum - 04-27-2009, 06:40 PM
Lost session - by El Forum - 04-28-2010, 08:54 AM
Lost session - by El Forum - 05-04-2010, 08:50 PM
Lost session - by El Forum - 05-11-2010, 02:07 AM
Lost session - by El Forum - 07-07-2010, 10:57 AM
Lost session - by El Forum - 07-22-2010, 06:29 AM
Lost session - by El Forum - 07-22-2010, 06:37 AM
Lost session - by El Forum - 07-22-2010, 09:44 AM
Lost session - by El Forum - 03-18-2011, 06:57 PM
Lost session - by El Forum - 03-19-2011, 04:02 AM
Lost session - by El Forum - 03-22-2011, 09:46 AM
Lost session - by El Forum - 04-01-2011, 02:33 PM
Lost session - by El Forum - 12-17-2013, 04:04 AM
Lost session - by El Forum - 12-17-2013, 04:05 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.