In my codeigniter project i have added KCK finder.
it needs some of session values which is controlled by codeigniter. how can i access CI session values from external files ?
<?php ob_start(); include('index.php'); ob_end_clean(); $CI =& get_instance(); $CI->load->library('session'); //if it's not autoloaded in your CI setup echo $CI->session->userdata('name'); ?>
2.1m questions
2.1m answers
60 comments
57.0k users