• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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...


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.