Reputation: 876
I am using a SESSION
to store user data after a user logs in and should that data not be set, it would redirect the user the login page. After about 30 minutes of inactivity from the user, the SESSION
gets wiped. How would I go about extending the SESSION
time in GAE
PHP
? The GAE
documentation doesn't seem to mention it.
Any input? Thanks!
EDIT: For whatever reason this was closed. Gwell's comment on this question works. For anyone else in the same situation.
Upvotes: 1
Views: 582
Reputation: 281
You can include a php.ini file with your project. Refer to: developers.google.com/appengine/docs/php/config/php_ini In php.ini you can specify many settings, including the default session timeout. session.gc_maxlifetime() is the setting you're looking for
Upvotes: 5