I know there is already an existing question identical to this (How do I pass session to ckfinder in codeigniter 3?) but it does not help at all. There's only 1 answer and it does not work for me and very little explanation is provided.
I have a CI site in which a user can log in and edit some stuff using CKEditor. I've installed CKFinder as well, but I'm unable to pass any session data to the CKFinder config file in order to authenticate the login for security. The global $_SESSION
variable just returns Array() 1
and doesn't contain any of the session data (and yes, I'm using session_start();
).
Using the other post's answer as a foundation, I tried retrieving data from $_COOKIE
but there didn't seem to be anything particularly useful. There is no ci_session
in the cookie data. The closest thing is PHPSESSID
but I couldn't get anything useful from that.
Any help would be appreciated it. I've spent too long on this project already. Thanks!