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? Quote Link to comment Share on other sites More sharing options...
papaface Posted April 13, 2008 Share Posted April 13, 2008 Show us some code. Quote Link to comment 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() Quote Link to comment Share on other sites More sharing options...
papaface Posted April 13, 2008 Share Posted April 13, 2008 Works for me. Quote Link to comment Share on other sites More sharing options...
dezkit Posted April 13, 2008 Share Posted April 13, 2008 me too. Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.