# Persist Kibana Session across browser restart

**URL:** <https://discuss.elastic.co/t/persist-kibana-session-across-browser-restart/261718>\
**Category:** Kibana\
**Tags:** elastic-stack-security\
**Created:** [January 21, 2021, 3:18am UTC](https://discuss.elastic.co/t/persist-kibana-session-across-browser-restart/261718 "2021-01-21T03:18:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandeepkanabar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sandeepkanabar/32/79399_2.png) [@sandeepkanabar](https://discuss.elastic.co/u/sandeepkanabar)\
**Post date:** [January 21, 2021, 3:18am UTC](https://discuss.elastic.co/t/persist-kibana-session-across-browser-restart/261718/1 "2021-01-21T03:18:37Z")

</div>

My kibana session expires if I close the browser and restart it. I am wondering if there's a way for me to persist the Kibana session across a browser restart so that I don't have to re-login if I close and re-launch my browser.

Is that possible?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 21, 2021, 4:29am UTC](https://discuss.elastic.co/t/persist-kibana-session-across-browser-restart/261718/2 "2021-01-21T04:29:57Z")

</div>

What version of Kibana? What browser?

I only see this behaviour myself when I don't open the Kibana page for a while, but it usually persists for some time.

---

<div class="post-metadata">

**Author:** ![sandeepkanabar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sandeepkanabar/32/79399_2.png) [@sandeepkanabar](https://discuss.elastic.co/u/sandeepkanabar)\
**Post date:** [January 21, 2021, 6:48am UTC](https://discuss.elastic.co/t/persist-kibana-session-across-browser-restart/261718/3 "2021-01-21T06:48:16Z")

</div>

Hi Mark,

Thanks for the prompt response. Kibana version: 6.8.6. Browser: Safari `Version 14.0.2 (15610.3.7.1.10, 15610)`. Mac OS X Catalina version 10.15.7

Kibana session persists as long as I have the safari browser open. But if I close Safari and reopen it, then the session is destroyed which is obvious. I was seeing if there is a way to persist the session after closing and re-opening browser.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 21, 2021, 6:50am UTC](https://discuss.elastic.co/t/persist-kibana-session-across-browser-restart/261718/4 "2021-01-21T06:50:48Z")

</div>

Does the same behaviour happen on a different browser?  
Do you have any browser plugins installed?

---

<div class="post-metadata">

**Author:** ![sandeepkanabar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sandeepkanabar/32/79399_2.png) [@sandeepkanabar](https://discuss.elastic.co/u/sandeepkanabar)\
**Post date:** [February 9, 2021, 3:01am UTC](https://discuss.elastic.co/t/persist-kibana-session-across-browser-restart/261718/5 "2021-02-09T03:01:21Z")

</div>

Hi Mark,

Apologies for the delayed reply. Yes, the same behaviour happens in other browsers as well. I use safari but can replicate this on chrome too. I guess that's expected since the session cookies are stored in browser. So closing that invalidates the session.

---

<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:** [March 9, 2021, 3:01am UTC](https://discuss.elastic.co/t/persist-kibana-session-across-browser-restart/261718/6 "2021-03-09T03:01:58Z")

</div>

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