# Perspective, Issues with WebSockets when embedding page as iFrame

**URL:** <https://forum.inductiveautomation.com/t/perspective-issues-with-websockets-when-embedding-page-as-iframe/97374>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [October 17, 2024, 9:25am UTC](https://forum.inductiveautomation.com/t/perspective-issues-with-websockets-when-embedding-page-as-iframe/97374 "2024-10-17T09:25:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Benjamin\_Furlani](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/benjamin_furlani/32/66084_2.png) [@Benjamin\_Furlani](https://forum.inductiveautomation.com/u/Benjamin_Furlani)\
**Post date:** [October 17, 2024, 12:36pm UTC](https://forum.inductiveautomation.com/t/perspective-issues-with-websockets-when-embedding-page-as-iframe/97374/2 "2024-10-17T12:36:12Z")

</div>

You may look at this post. Anytime I have tried using perspective as an embeded view I have needed to change stuff in the .conf file.

> [@Embed Perspective View as an IFRAME](https://forum.inductiveautomation.com/t/embed-perspective-view-as-an-iframe/46864/3):
>
> 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-sit…

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-issues-with-websockets-when-embedding-page-as-iframe/97374)._
