CodeIgniter Forums
Big trouble with Sessions [RESOLVED] - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Big trouble with Sessions [RESOLVED] (/showthread.php?tid=17482)



Big trouble with Sessions [RESOLVED] - El Forum - 04-06-2009

[eluser]Unknown[/eluser]
Hello, I'm new here, I've been using CI for about a month now and I'm getting into the swing of things.

I'm having a pretty urgent problem with sessions right now. I have a form that has probably 1700 characters (about 200 bytes) of data on it. During validation I'm using
Code:
$this->session->set_flashdata('...')
to pass back the data and repopulate the form.

Trouble is, I'm getting nothing.

So, I printed the session using
Code:
$print_r($this->session)
and found that the entire session (which is more data than the four parameters discussed in the guide) is being repeated 5 or more times. No wonder I'm running out of room.

What the heck am I doing wrong?

The session library is auto-loaded by the way.

UPDATE

Nevermind, I had CI set up to encrypt the cookie. That pushed my 2k of data well over 4k.


Big trouble with Sessions [RESOLVED] - El Forum - 04-06-2009

[eluser]vitoco[/eluser]
please add [RESOLVED] to title , cause the "UPDATE" doesn't pop toy the eyes inmidietly