Hi,
I have a php-script on my server site, that calls other php-scripts through the header statement and passing parameters like this :
$url = "Location: nextscript.php?<? echo strip_tags(SID); ?>";
header($url);
These scripts do not use frames and the startscript is start.php. It starts a session and registers some variables and calls the next script like above mentioned. It works fine.
Now I create a html-script on my personal pc, that creates a 2 frames frameset. In frame1.htm is a link to my server site like :
<A HREF="http://www.myserversite.net/start.php" target="frame 2">
Testing</A>
When I run the script, the start.php runs in frame 2, but nextscript.php (uses also a session_start(); gets a new session_id, not the one I passed from start.php!
If my html-script does the same, but now without frames, it works!
What is wrong in my approach?
Thanks