# Kirby sessions not working in Iframe on Safari

**URL:** <https://forum.getkirby.com/t/kirby-sessions-not-working-in-iframe-on-safari/18299>\
**Category:** Questions\
**Tags:** v3\
**Created:** [May 21, 2020, 3:07pm UTC](https://forum.getkirby.com/t/kirby-sessions-not-working-in-iframe-on-safari/18299 "2020-05-21T15:07:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kmajort](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/kmajort/32/11181_2.png) [@kmajort](https://forum.getkirby.com/u/kmajort)\
**Post date:** [May 21, 2020, 3:07pm UTC](https://forum.getkirby.com/t/kirby-sessions-not-working-in-iframe-on-safari/18299/1 "2020-05-21T15:07:03Z")

</div>

I’m working on a project which i have to run into an iframe on an other domain (Wordpress site). It all works fine except that the Kirby sessions are not working. And this only on Safari.

I have tried this workaround. ([http://www.mendoweb.be/blog/internet-explorer-safari-third-party-cookie-problem/](http://www.mendoweb.be/blog/internet-explorer-safari-third-party-cookie-problem/)).  
This works with PHP Sessions (`$_SESSION["favcolor"] = "green";`),

but when i use kirby sessions it doesn’t work.  
$session = kirby()-\>session();  
$session-\>set(“favcolor”,“green”);

Any one an idea how i can fix this?

PS. I have a kirby licence for the kirby part 🙂
