# Kibana Browser Session not active for the set time

**URL:** <https://discuss.elastic.co/t/kibana-browser-session-not-active-for-the-set-time/229724>\
**Category:** Kibana\
**Created:** [April 24, 2020, 8:55pm UTC](https://discuss.elastic.co/t/kibana-browser-session-not-active-for-the-set-time/229724 "2020-04-24T20:55:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sushmamagesh](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@sushmamagesh](https://discuss.elastic.co/u/sushmamagesh)\
**Post date:** [April 24, 2020, 8:55pm UTC](https://discuss.elastic.co/t/kibana-browser-session-not-active-for-the-set-time/229724/1 "2020-04-24T20:55:59Z")

</div>

We are trying to keep the browser sessions alive for a long time for some of the usecases we have and below are the setting i have used. Note the encryption key and sessionTimeout is commented out for the 7.6 version. I also noticed the "sessionTimeout" setting is no more available.  
Please let us know the correct way to keep a browser session alive (weeks or longer). We are using mostly chrome.

```auto
xpack.security.session.idleTimeout: "1Y"
xpack.security.session.lifespan: "1Y"
#xpack.security.encryptionKey: "9tGlhjgkfkfkgfkfkhfkffk"
#xpack.security.sessionTimeout: "10000000000"

```

Referring to: [https://www.elastic.co/guide/en/kibana/current/security-settings-kb.html](https://www.elastic.co/guide/en/kibana/current/security-settings-kb.html)

Additionally:  
With values we have set in config, we are seeing that the session is not staying active.

Also what we noticed with the latest version is that when you refresh, and it goes to login prompt; that takes a longer time as it causes laptop cpu to go 90-100%. Once you login, the ‘Loading Kibana’ step is also much slower than previous release.

Thanks

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [April 24, 2020, 10:05pm UTC](https://discuss.elastic.co/t/kibana-browser-session-not-active-for-the-set-time/229724/2 "2020-04-24T22:05:45Z")

</div>

Hello,

I am going to try this in my local and buzz you back.

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 22, 2020, 10:05pm UTC](https://discuss.elastic.co/t/kibana-browser-session-not-active-for-the-set-time/229724/3 "2020-05-22T22:05:48Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
