Welcome Guest, Not a member yet? Register   Sign In
Session userdata unsetting if too many variables are set...? Help Please
#1

[eluser]bryantAXS[/eluser]
So I'm using Redux Auth on my site for user authentication, and I'm running into an issue when I'm setting data pulled from the DB as session data. After the session data is set in the Login controller, I can successfully echo out the session data; however, after I redirect to the authenticated page, the session data is clear and nothing is set. When I remove some of the properties, the session is pulled successfully on the later end of the redirect.

I know there is a 4K limit on the cookie size used for the sessions, but is this amount of data 4K? To be honest I'm not sure what 4K of plain-text looks like, but this seems pretty low.

This is the userdata array before the redirect, which does not remained set after the redirect.

Code:
array(
['session_id'] =>'53b0be1ec8af787d22713d98c8645984'
['ip_address'] =>0.0.0.0
['user_agent'] =>'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en'
['last_activity'] =>1279766546
['id'] =>9
['username'] =>'b'
['email'] =>'[email protected]'
['iconId'] =>8
['iconName'] =>'profileIcon_9.png')

Any thoughts or suggestions?

Thanks in advance!


Messages In This Thread
Session userdata unsetting if too many variables are set...? Help Please - by El Forum - 07-21-2010, 09:11 PM



Theme © iAndrew 2016 - Forum software by © MyBB