session - CodeIgnitor - Get $config['sess_expiration'] -


i able read variable when running web site:

$config['sess_expiration'] 

depending on user logged in, display amount of time has before session expires.

i know can set session expiration, did find on how read value.

session_cache_expire(30); $var = session_cache_expire(); 

you can setting session expiration using code;


Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -