# set\_persistent\_variable does not seem to be persistent

**URL:** <https://community.folivora.ai/t/set-persistent-variable-does-not-seem-to-be-persistent/2654>\
**Category:** Bugs or Unexpected Behavior\
**Tags:** webserver, api\
**Created:** [July 31, 2018, 8:33pm UTC](https://community.folivora.ai/t/set-persistent-variable-does-not-seem-to-be-persistent/2654 "2018-07-31T20:33:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Worie](https://community.folivora.ai/user_avatar/community.folivora.ai/worie/32/35_2.png) [@Worie](https://community.folivora.ai/u/Worie)\
**Post date:** [July 31, 2018, 8:33pm UTC](https://community.folivora.ai/t/set-persistent-variable-does-not-seem-to-be-persistent/2654/1 "2018-07-31T20:33:41Z")

</div>

**Describe the bug**  
I've been creating persistent variables (mostly string variables) via BTT webserver endpoints - they work great, but they does not seem to persist between relaunches.

If I set persistent variable in one BTT lifetime - get\_string\_variable for example returns it just fine. But after killing the BTT process, and relaunching it, the response is empty ☹

**Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):**  
Webserver

Let me know if you need any further debuggin information 🙂

Btt 2.536

---

<div class="post-metadata">

**Author:** ![Worie](https://community.folivora.ai/user_avatar/community.folivora.ai/worie/32/35_2.png) [@Worie](https://community.folivora.ai/u/Worie)\
**Post date:** [August 8, 2018, 7:40pm UTC](https://community.folivora.ai/t/set-persistent-variable-does-not-seem-to-be-persistent/2654/2 "2018-08-08T19:40:25Z")

</div>

@Andreas_Hegenberg could you confirm that this bug exists, just so I know that it's not an issue with something on my side?

Edit: I'm terribly sorry - didn't see the latest alpha channel in a while. Everything works as it should!

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [August 8, 2018, 7:54pm UTC](https://community.folivora.ai/t/set-persistent-variable-does-not-seem-to-be-persistent/2654/3 "2018-08-08T19:54:46Z")

</div>

ah yes, sorry. Forgot to reply here but I fixed it in the latest alpha 🙂
