# Documentation Fix in PHP Session Handler

**URL:** <https://discuss.aerospike.com/t/documentation-fix-in-php-session-handler/3741>\
**Category:** General Discussion\
**Tags:** php\
**Created:** [January 5, 2017, 3:01pm UTC](https://discuss.aerospike.com/t/documentation-fix-in-php-session-handler/3741 "2017-01-05T15:01:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicolas\_Payart](https://avatars.discourse-cdn.com/v4/letter/n/77aa72/32.png) [@Nicolas\_Payart](https://discuss.aerospike.com/u/Nicolas_Payart)\
**Post date:** [January 5, 2017, 3:01pm UTC](https://discuss.aerospike.com/t/documentation-fix-in-php-session-handler/3741/1 "2017-01-05T15:01:36Z")

</div>

Since v3.4.8 of the PHP client library, `session.gc_maxlifetime` is used to define session TTL in Aerospike Session Handler (it was `session.cache_expire` in older releases).

Documentation should be fixed:

[http://www.aerospike.com/docs/client/php/usage/sessions.html](http://www.aerospike.com/docs/client/php/usage/sessions.html)

> The value of ~~`session.cache_expire`~~ **`session.gc_maxlifetime`** is the record time-to-live (TTL or expiration).

---

<div class="post-metadata">

**Author:** ![meher](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/meher/32/1644_2.png) [@meher](https://discuss.aerospike.com/u/meher)\
**Post date:** [January 6, 2017, 10:07pm UTC](https://discuss.aerospike.com/t/documentation-fix-in-php-session-handler/3741/2 "2017-01-06T22:07:06Z")

</div>

Thanks for reporting this. We will update our docs.
