I am using dx_auth, which seems to use ci sessions, but it stores them in the database. It autoloads ci’s session library as well in their class.
The problem is I have the check on the entire controller, (files) but I’m posting to /files/do_upload/ on my controller. I need some way to pass the session to the construct (using post or get) and passing that to dx_auth somehow…I’m fairly new to CI so not 100% sure how sessions are handled, it is surely cookie based though.
The instructions at the top of this (editing Session.php) are outdated it seems as well, the code isn’t the same, nor are the line numbers.
I do have the proper session ID on my form page, using the technique above, but whenever I post a new flash session is added to the database and just adding it to session_id() in my construct doesn’t seem to work correctly with dx_auth.
So I’m a bit stuck at the moment.