Hi! I'm working on an application in fuelphp and I am having few problems with the Auth controller. After the login, I'd like to add some information to the Session by calling `Session::set('foo', 'bar')`. However doing this somehow deletes the auth session and the user cannot do anything. Is this a bug?
I've thought of that and therefore changed the name, but it didn't help.
Here is the actual code of the controller. The login part is just copied from the examples and, after the login it should set the session variables, but somehow it also breaks the auth session.
Finally, I found the reason of this behaviour. The Session cookie was too large for the cookie driver. It works just fine with a file driver. Anyway thanks for your time and answer. I love the FuelPHP project.
Any idea how large the cookie was? The cookie driver should throw an exception when the cookie is to large, but it's a bit guess work when you encrypt the cookie payload, as that creates a variable length string...