Welcome Guest, Not a member yet? Register   Sign In
sessions and authentication
#11

[eluser]systemsos[/eluser]
I think I have it.

$this->CI->config->item('my_custom_config_option_here')

I think I may write a custom session handler for this.

Edit: CI's session class doesn't store user data in the session, it stores it in the cookie... so, why's it called the session class? I'm confused, there must be something I'm not reading right in the code for the class
#12

[eluser]xwero[/eluser]
Code:
ini_get('session.cache_expire');
If you don't want to use config settings.
#13

[eluser]systemsos[/eluser]
[quote author="xwero" date="1203100571"]
Code:
ini_get('session.cache_expire');
If you don't want to use config settings.[/quote]
Wanted it to be a "per application" thingy thing - as I think my library will default to no session-expiry so we can keep track of users with a "remember me" setting.

I'm still lost about the session class not using sessions...




Theme © iAndrew 2016 - Forum software by © MyBB