# How to enable HTTP connection keep-alive or persistent (some call it http reuse)?

**URL:** <https://discourse.nodered.org/t/how-to-enable-http-connection-keep-alive-or-persistent-some-call-it-http-reuse/13807>\
**Category:** General\
**Created:** [29 July 2019 19:49 UTC](https://discourse.nodered.org/t/how-to-enable-http-connection-keep-alive-or-persistent-some-call-it-http-reuse/13807 "2019-07-29T19:49:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ChillXXL](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chillxxl/32/30408_2.png) [@ChillXXL](https://discourse.nodered.org/u/ChillXXL)\
**Post date:** [16 October 2020 07:09 UTC](https://discourse.nodered.org/t/how-to-enable-http-connection-keep-alive-or-persistent-some-call-it-http-reuse/13807/2 "2020-10-16T07:09:27Z")

</div>

Hello, I am wondering the same thing. I want to automate a login. On the website a key is in the main page and just for a POST request after you submit the login. My quess is that after my first GET action to retrieve the key the "login page" closes and on the backend the key is not valid anymore so the POST uses an old key. Could this be happening?

Did you solve it or can you suggest me some tools to look what is happening?

actually, I just opened a post regarding my case with more info. If needed it is [here](https://discourse.nodered.org/t/http-get-request-keep-alive-for-auto-login-use/34323)

---

_[View the full topic](https://discourse.nodered.org/t/how-to-enable-http-connection-keep-alive-or-persistent-some-call-it-http-reuse/13807)._
