Hi!
I try to popup a .php page with contents…
in controller
public function actionPopup() {
$_SESSION['items']='blablabla';
$path = Yii::app()->createUrl('protected/views/lectivo/testing/test.php');
$js2="window.open ('$path', 'mywindow','status=0,toolbar=0');";
echo CHtml::script($js2);
}
in test.php
<?php
var_dump($_SESSION['items']);
?>
The popup is opened but the $_session is NULL and the page localhost/project/Lectivo/popup is blank
Why??
I wanna show a popup with the $_session values and make a html table
Regards