I'm the person who made the PostgreSQL implementation for this library, and I'm just interested if I'm supposed to be storing the cookie object in the session data. At the moment I am, and it's working fine, but it might be somewhat redundant? So in the database table that my module generates, I have this:
Obviously the keys like logged_in and user_id are my own session properties, but the cookie object is included as well. This is because I simply serialize the whole session object, which contains cookie, but I'm not sure if I should filter it out. Thoughts?
I'm the person who made the PostgreSQL implementation for this library, and I'm just interested if I'm supposed to be storing the
cookie
object in the session data. At the moment I am, and it's working fine, but it might be somewhat redundant? So in the database table that my module generates, I have this:Obviously the keys like
logged_in
anduser_id
are my own session properties, but the cookie object is included as well. This is because I simply serialize the wholesession
object, which containscookie
, but I'm not sure if I should filter it out. Thoughts?