Skip to content


session details gone after redirect() ? #493

jaysonng opened this Issue · 3 comments

2 participants


I'm at a loss. After an update to the latest dev version of pyrocms, my site is now (after some debugging) not passing custom session user data.

I add a userdata to the $this->session


and the userdata is gone on the new page.

Could any recent update have affected Sessions?



after login?


no, this is just moving from one page to another. not logged in.


so apparently the problem was I was passing too big of an array that it was passing the 4kb cookie size limit as noted here:

"Note: Cookies can only hold 4KB of data, so be careful not to exceed the capacity. The encryption process in particular produces a longer data string than the original so keep careful track of how much data you are storing."

@jaysonng jaysonng closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.