Hello,
I have an application, that does a redirect inside a frame, after setting
a sessionvariable , like this:
content of
<?php
session_start() ;
$SESSVAR = "login1" ;
session_registe r("SESSVAR");
$location = "http://appserver.de/app/test2.php";
?>
<html>
<frameset rows="*" frameborder="NO " border="0" >
<frame src="<?php echo $location ?>" APPLICATION="ye s">
</frameset>
</html>
This works, when I access the page directly. However, we have another
server, that does a redirect onto this page, also inside a frame (just
the same code with this page as target). Called
from there, SESSVAR is not set. In this case it only works without
framesets or with SID.
Does anybody know, why?
Changing everything to SID right now would not be a solution for us.
Greetings
Neven
I have an application, that does a redirect inside a frame, after setting
a sessionvariable , like this:
content of
<?php
session_start() ;
$SESSVAR = "login1" ;
session_registe r("SESSVAR");
$location = "http://appserver.de/app/test2.php";
?>
<html>
<frameset rows="*" frameborder="NO " border="0" >
<frame src="<?php echo $location ?>" APPLICATION="ye s">
</frameset>
</html>
This works, when I access the page directly. However, we have another
server, that does a redirect onto this page, also inside a frame (just
the same code with this page as target). Called
from there, SESSVAR is not set. In this case it only works without
framesets or with SID.
Does anybody know, why?
Changing everything to SID right now would not be a solution for us.
Greetings
Neven
Comment