CodeIgniter extend user's session expiration time
        Posted  
        
            by spacemonkey
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by spacemonkey
        
        
        
        Published on 2010-04-08T20:17:57Z
        Indexed on 
            2010/04/08
            20:53 UTC
        
        
        Read the original article
        Hit count: 538
        
Hi,
Is it possible to extend user's session expiration time in CI. What I want to do is, by default every user's session cookie lasts for example 1 day, but every time user visits the site his session expiration time is extended by one more day.
I don't know if it is a good idea to do this, maybe I should just set cookies life time for like a week and that's it?
Thanks!
© Stack Overflow or respective owner