Hi All,
I have a structure of a page which has iframe of a differet domain inside a page. both the domains are owned by me only. The problem I am facing is I cannot access session of a parent frame inside an iframe. I have also tried with database session but I am not getting a session variables inside an iframe.
<body>
<?php Yii::app()->session['myvar']="iframeVar";?>
<iframe scr="anotherdomain"></iframe>
</body>
and xyz.com.au looks like
<body>
<?php echo Yii::app()->session['myvar'];?>
</body>
Please guide me.
Thanks.