Reputation: 578
Session expires too soon on a Google App project when I am working on, even after editing the max gc lifetime
in the php.ini
.
I would want it to expire after 7 seven days, but it seems to have a max expiry of less than 5 hours.
Upvotes: 1
Views: 734
Reputation: 1613
By default, App Engine stores session data in memcache.
The free memcache tier has no guaranteed lifetime, which might be affecting you.
I recommend moving to persistent session storage (Datastore/CloudSQL).
Upvotes: 1