I need to design a site which has an iframe that links to pages on another site. the site would work as usuall in the iframe.
the site when running directly works fine passing out all the session variables, but when working in the iframe the session variable loses out its value.
I have no idea. Any help?

do you have

session_start();

at the top of the page containing the iframe?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.