# Embed Perspective View as an IFRAME

**URL:** <https://forum.inductiveautomation.com/t/embed-perspective-view-as-an-iframe/46864>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [May 18, 2021, 10:03pm UTC](https://forum.inductiveautomation.com/t/embed-perspective-view-as-an-iframe/46864 "2021-05-18T22:03:59Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![greg.duggleby](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.duggleby/32/24352_2.png) [@greg.duggleby](https://forum.inductiveautomation.com/u/greg.duggleby)\
**Post date:** [May 20, 2021, 9:17pm UTC](https://forum.inductiveautomation.com/t/embed-perspective-view-as-an-iframe/46864/3 "2021-05-20T21:17:37Z")

</div>

I figured this out eventually. The issue is that the two machines are on different domains and so by default they can’t exchange cookies. Because my web app was hosted on a machine on a domain named nunya.int and ignition was hosted on a domain named [nunya.com](http://nunya.com), the two pages couldn’t exchange cookies.

These settings in ignition.conf fixed the issue:  
wrapper.java.additional.5=-Dignition.http.session.cookie.same-site.enabled=true  
wrapper.java.additional.6=-Dignition.http.session.cookie.same-site.value=None

I wouldn’t recommend setting things up this way in production, but in production my web app server and my ignition server will both be on the [nunya.com](http://nunya.com) domain so I won’t have to.

---

_[View the full topic](https://forum.inductiveautomation.com/t/embed-perspective-view-as-an-iframe/46864)._
