Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

newcomer's avatar

How to store session variable values in iframe of another website

I want to display my website content to another website iframe. But my session variables are not storing in another iframe websites.

Please any one tell solution.

Thanks

0 likes
5 replies
tykus's avatar

@newcomer I meant... why would session variables on your web server be available to another web application (on a different domain) which embeds your application in an iframe?

newcomer's avatar

@tykus if user click view cart after add to cart the session will destroyed

Please or to participate in this conversation.