Welcome Guest, Not a member yet? Register   Sign In
Big trouble with Sessions [RESOLVED]
#1

[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.
#2

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




Theme © iAndrew 2016 - Forum software by © MyBB