Welcome Guest, Not a member yet? Register   Sign In
OB session & remember me
#1

[eluser]davidk43[/eluser]
I feel like I'm missing something obvious. I wanted to reset the expiration of a cookie and thought I got the jist that CI sessions can't. So...

I have OBsession running, I've set cookies to expire at end of session. I now want, if the user clicks "remember me" when logging in to simply add two weeks to the expiry time. I figured:

Code:
$this->session->set_userdata('session_expiration',time()+1209600)

Or at least something similar. This isn't working but there must be simple way to update the expiration but that seems to be set at the config level.

Help...




Theme © iAndrew 2016 - Forum software by © MyBB