# How to increase the life time of a temporary link to a user profile?

**URL:** <https://forum.pritunl.com/t/how-to-increase-the-life-time-of-a-temporary-link-to-a-user-profile/584>\
**Category:** Pritunl VPN\
**Created:** [December 2, 2022, 8:59pm UTC](https://forum.pritunl.com/t/how-to-increase-the-life-time-of-a-temporary-link-to-a-user-profile/584 "2022-12-02T20:59:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pampei](https://forum.pritunl.com/user_avatar/forum.pritunl.com/pampei/32/235_2.png) [@Pampei](https://forum.pritunl.com/u/Pampei)\
**Post date:** [December 2, 2022, 8:59pm UTC](https://forum.pritunl.com/t/how-to-increase-the-life-time-of-a-temporary-link-to-a-user-profile/584/1 "2022-12-02T20:59:03Z")

</div>

pritunl set app.key\_link\_timeout does not give a result.

Now like that, but the link is still deleted after 24 hours.

```auto
# sudo pritunl get app.key_link_timeout
app.key_link_timeout = 172800

```

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [December 3, 2022, 2:37am UTC](https://forum.pritunl.com/t/how-to-increase-the-life-time-of-a-temporary-link-to-a-user-profile/584/2 "2022-12-03T02:37:24Z")

</div>

This option is a database expiration index. At least one host will need to be restarted to run the initial database configuration and update the expiration time on the collection.

---

<div class="post-metadata">

**Author:** ![Pampei](https://forum.pritunl.com/user_avatar/forum.pritunl.com/pampei/32/235_2.png) [@Pampei](https://forum.pritunl.com/u/Pampei)\
**Post date:** [December 3, 2022, 3:01pm UTC](https://forum.pritunl.com/t/how-to-increase-the-life-time-of-a-temporary-link-to-a-user-profile/584/3 "2022-12-03T15:01:49Z")

</div>

After restarting the server, the life time of the link is still 24 hours.

```auto
root@ip-172-31-32-51:~# sudo pritunl get app.key_link_timeout
app.key_link_timeout = 172800

```

 ![image](https://forum-static.pritunl.com/original/1X/1d25dd2db36140d18dbf2207efe57d41e100eb6a.png)

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [December 4, 2022, 1:08am UTC](https://forum.pritunl.com/t/how-to-increase-the-life-time-of-a-temporary-link-to-a-user-profile/584/4 "2022-12-04T01:08:27Z")

</div>

The label doesn’t change, it will always say 24 hours.
