# Stick table expire

**URL:** <https://discourse.haproxy.org/t/stick-table-expire/1616>\
**Category:** Help!\
**Created:** [September 28, 2017, 11:12am UTC](https://discourse.haproxy.org/t/stick-table-expire/1616 "2017-09-28T11:12:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bas](https://avatars.discourse-cdn.com/v4/letter/b/a587f6/32.png) [@Bas](https://discourse.haproxy.org/u/Bas)\
**Post date:** [September 28, 2017, 11:12am UTC](https://discourse.haproxy.org/t/stick-table-expire/1616/1 "2017-09-28T11:12:47Z")

</div>

Hello,

We would like to know how the stick table expire works.

If for example we set the expiry to 8 hours, what if a client connects again after 4 hours, would it still keep the record for 4 hours or another 8 hours?

Best regards,  
Bas

---

<div class="post-metadata">

**Author:** ![lukastribus](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lukastribus](https://discourse.haproxy.org/u/lukastribus)\
**Post date:** [September 28, 2017, 12:02pm UTC](https://discourse.haproxy.org/t/stick-table-expire/1616/2 "2017-09-28T12:02:23Z")

</div>

As always, those details are in the docs:

[http://cbonte.github.io/haproxy-dconv/1.7/configuration.html#4-stick-table](http://cbonte.github.io/haproxy-dconv/1.7/configuration.html#4-stick-table)

```
<expire> defines the maximum duration of an entry in the table since it
           was last created, refreshed or matched.
```

---

<div class="post-metadata">

**Author:** ![Sandeep.rai2k17](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@Sandeep.rai2k17](https://discourse.haproxy.org/u/Sandeep.rai2k17)\
**Post date:** [October 17, 2017, 10:52am UTC](https://discourse.haproxy.org/t/stick-table-expire/1616/3 "2017-10-17T10:52:28Z")

</div>

It would retain for maximum duration
