# Bootstrap Kirby and sessions

**URL:** <https://forum.getkirby.com/t/bootstrap-kirby-and-sessions/15148>\
**Category:** Questions\
**Tags:** v3\
**Created:** [August 3, 2019, 9:19am UTC](https://forum.getkirby.com/t/bootstrap-kirby-and-sessions/15148 "2019-08-03T09:19:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![carstengrimm](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/carstengrimm/32/188_2.png) [@carstengrimm](https://forum.getkirby.com/u/carstengrimm)\
**Post date:** [August 3, 2019, 9:19am UTC](https://forum.getkirby.com/t/bootstrap-kirby-and-sessions/15148/1 "2019-08-03T09:19:00Z")

</div>

I have tried to bootstrap Kirby into an external script and then working with sessions for some sort of login. While everything seems fine, when I was changing / browsing to another file, it seems the session information was lost.

Is there anything I am missing? Both files have Kirby bootstrapped and are using the same $session set and gets.

---

<div class="post-metadata">

**Author:** ![carstengrimm](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/carstengrimm/32/188_2.png) [@carstengrimm](https://forum.getkirby.com/u/carstengrimm)\
**Post date:** [August 3, 2019, 4:21pm UTC](https://forum.getkirby.com/t/bootstrap-kirby-and-sessions/15148/2 "2019-08-03T16:21:31Z")

</div>

it works out of the box, i didn’t notice that the connection went from https to http which then got rid of the session…
