![]() |
Session Expiration - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Session Expiration (/showthread.php?tid=9457) |
Session Expiration - El Forum - 06-25-2008 [eluser]Stylec[/eluser] Hi guys, hopefully a quick question. I'm trying to use DB2_Session to create a simple login form. This is what I think happens, correct me if im wrong. - When a user logs in, a session is added to the database that could store the userID of the user. - The cookie stores the session_id. So far I think I understand, but now what happens if the user comes back, say the next day. The session will have expired and so they will have to login again? If I set Code: $config['sess_expiration'] = 0; Thanks for any help :-) |