I am using codeigniter 3 , I have a big problem with codeigniter session ! beacause sessions will not been deleted after browser cloasing by ! so I desided to use native php session in codeigniter this way ! now I want to know if id encrypt all my session data (ative php session) , how is my security ? is this dangerous ?
In In CodeIgniter 3.0.+ the Session library is using native PHP sessions.
If you would like a session that expires when the browser is closed, set $config['sess_expiration'] = 0;
in application/config/config.php