athene
athene

Reputation: 578

Is PHP session expired in "Google App Engine"?

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

Answers (1)

Tom
Tom

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

Related Questions