Welcome Guest, Not a member yet? Register   Sign In
sess_expire_on_close config option questions
#1

[eluser]besson3c[/eluser]
I'm trying to implement a "save password" checkbox in my login form. I would like for users that have this option checked for this config option to be set as false, and for users that don't for this config option to be set true.

It appears that a simple $this->config->set_item('sess_expire_on_close', true) does not work to modify the value of "false" entered into my config file, I'm assuming because the session has already been initialized and the cookie already created.

What is the most elegant way to recreate session information depending on this checkbox selection, or, IOW, how can "sess_expire_on_close" be set dynamically?


Messages In This Thread
sess_expire_on_close config option questions - by El Forum - 05-30-2011, 02:50 AM
sess_expire_on_close config option questions - by El Forum - 05-31-2011, 04:31 PM
sess_expire_on_close config option questions - by El Forum - 06-01-2011, 02:48 AM
sess_expire_on_close config option questions - by El Forum - 06-01-2011, 08:34 AM
sess_expire_on_close config option questions - by El Forum - 06-01-2011, 09:10 AM
sess_expire_on_close config option questions - by El Forum - 06-01-2011, 01:17 PM
sess_expire_on_close config option questions - by El Forum - 06-01-2011, 03:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB