Session expiration different on local dev than live - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Session expiration different on local dev than live (/showthread.php?tid=67386) |
Session expiration different on local dev than live - bjacobs - 02-16-2017 I see $config['sess_expiration'] = 7200; However, when I inspect my cookie, I can see on the live site it expires after 1 year and it's constantly updating. And on my local dev env, I inspect the cookie and see it expires after 10 min and stays static. Any one have any insight? RE: Session expiration different on local dev than live - InsiteFX - 02-16-2017 You need to tell us what version of CodeIgniter that you are using for us to really help you. From what you said it sounds like it may be a timezone setting. RE: Session expiration different on local dev than live - bjacobs - 02-16-2017 (02-16-2017, 02:54 PM)InsiteFX Wrote: You need to tell us what version of CodeIgniter that you are using for us to really help you. Thank you for your reply. It's 2.0.2. Could you explain further? Yes, I am in the US and the live server is in the UK, but why would that explain the 10 min exp vs. 1 year? And where is that even set? |