corillo181 Posted April 13, 2008 Share Posted April 13, 2008 for some reason the sessions value do not transfer to a pop up window, do any one knows why? is there a way to fix this? Link to comment https://forums.phpfreaks.com/topic/100931-solved-_session-in-pop-up-windows/ Share on other sites More sharing options...
papaface Posted April 13, 2008 Share Posted April 13, 2008 Show us some code. Link to comment https://forums.phpfreaks.com/topic/100931-solved-_session-in-pop-up-windows/#findComment-516149 Share on other sites More sharing options...
corillo181 Posted April 13, 2008 Author Share Posted April 13, 2008 that is the problem there is no code. i have a index.php <?php session_start(); $_SESSION['name'] = 'josh'; ?> <a href="#" onclick="window.open('main.php','new window','width=300,height=250')" >new window</a> now when the person clicks on the new window i have this main.php <?php session_start(); print_r($_SESSION); ?> the out put is Array() Link to comment https://forums.phpfreaks.com/topic/100931-solved-_session-in-pop-up-windows/#findComment-516196 Share on other sites More sharing options...
papaface Posted April 13, 2008 Share Posted April 13, 2008 Works for me. Link to comment https://forums.phpfreaks.com/topic/100931-solved-_session-in-pop-up-windows/#findComment-516203 Share on other sites More sharing options...
dezkit Posted April 13, 2008 Share Posted April 13, 2008 me too. Link to comment https://forums.phpfreaks.com/topic/100931-solved-_session-in-pop-up-windows/#findComment-516205 Share on other sites More sharing options...
corillo181 Posted April 13, 2008 Author Share Posted April 13, 2008 that was weird, it wasn't working before but as soon as i posted it here it worked. Link to comment https://forums.phpfreaks.com/topic/100931-solved-_session-in-pop-up-windows/#findComment-516249 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.