# Shopware 5 cookies/session not working in an iframe?

**URL:** <https://forum.shopware.com/t/shopware-5-cookies-session-not-working-in-an-iframe/71385>\
**Category:** International (English Only)\
**Created:** [5. Dezember 2020 um 14:51 UTC](https://forum.shopware.com/t/shopware-5-cookies-session-not-working-in-an-iframe/71385 "2020-12-05T14:51:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![davit\_sargsyan](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@davit\_sargsyan](https://forum.shopware.com/u/davit_sargsyan)\
**Post date:** [5. Dezember 2020 um 14:51 UTC](https://forum.shopware.com/t/shopware-5-cookies-session-not-working-in-an-iframe/71385/1 "2020-12-05T14:51:55Z")

</div>

Hi,

I ran a shopware website in an iframe in a 3rd party website and neither cookies nor the session seem to work. E.g.&nbsp;Shopware()-\>Modules()-\>Admin()-\>sCheckUser(); always returns false even if you log in and try it afterwards. The login itself is also not seem to be taken place successfully although errors are not returned.
