Welcome Guest, Not a member yet? Register   Sign In
Session expiration different on local dev than live
#1

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?
Reply
#2

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.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

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

From what you said it sounds like it may be a timezone setting.

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?
Reply




Theme © iAndrew 2016 - Forum software by © MyBB