How can I set session expiration time dynamically in codeigniter?
For example, if a user logs in and has the role of admin, the expiration time should b
admin
Session will expire in 10 seconds
$config['sess_expiration']= 10;
Session will not expire
$config['sess_expiration']= 0;