cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Loss of cookie in an iframe

RD_9924398
5-Regular Member

Loss of cookie in an iframe

Hello,

I develop a thingworx application and our application is in a site that publishes us as an iframe.

 

But in this way, the cookies do not work anymore. Indeed, the domain name on my browser is no longer the one of the Thingworx application. And I have the impression that it does not fit anymore.

 

Is it possible to configure the cookie domain name so that it works as an iframe?

 

Thank you for your help.

 

ACCEPTED SOLUTION

Accepted Solutions
CharlesJi
15-Moonstone
(To:RD_9924398)

Hi @RD_9924398 

You might need

SameSite = None

parameter in order to pass cookies through iFrames.

 

Refer to the following article for more details:

https://www.ptc.com/en/support/article/cs322995

View solution in original post

1 REPLY 1
CharlesJi
15-Moonstone
(To:RD_9924398)

Hi @RD_9924398 

You might need

SameSite = None

parameter in order to pass cookies through iFrames.

 

Refer to the following article for more details:

https://www.ptc.com/en/support/article/cs322995

Announcements


Top Tags