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...


Messages In This Thread
OB session & remember me - by El Forum - 08-01-2007, 04:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB