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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! 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.

 

1 ACCEPTED SOLUTION

Accepted Solutions
CharlesJi
14-Alexandrite
(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
14-Alexandrite
(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

Top Tags