Hi,
Is it possible to access session variables from the main page in iframes on that page? I need different iframes to communicate with eachother. 🙂
How come that when I do a session_start() I keep getting the message that the headers are already sent? I know headers must be sent before output but it's the first rule after <?php so I don't know what is meant by output or how to do this correctly.
greets 😃
It is possible that there is a space just before the opening php tag look closely at your code and if you are using Dreamweaver as an editor then open it with something like notepad to be sure there is no space preceeding the <?php in your script.
Without seeing the code you have it would be hard to help with your question.
This is the beginning of my code
// start session and clean old one session_start(); $_SESSION = array(); unset($_COOKIE[session_name()]);
Any idea if iframes can access session variables on the main page?