CodeIgniter sessions and PHP native session both works fine.
But not together.
Mixing CI sessions and native session in CodeIgniter always causing troubles.
Script outside CI cannot access CI Session, no even $_SESSION native session created inside CI script.
The real problem is KCFinder use $_SESSION to control various things (Include access control).
But it can’t access anything created by CI scripts.
So I can either make KCFinder read CI session or let CI use native session.
Continue reading “CodeIgniter 3.0 KCFinder Integration Script”