I've made a website that uses popups. I know this may not be the best approach, but it was a wish from the customer. After logging in, when a button is clicked that opens a new window via the window.open() JS function, the popup window seems to loose the login session completly. Sometimes it works, sometimes the session is lost, the user is considered not to be logged in and the process die()'s. Printing the session says:
Array
(
)
This never happens to me personally, and that makes it difficult to debug. I use a mac, but I've tried to reproduce this on a windows machine without success. From what I've found, later browsers starts new processes for new tabs and popups in order to minimize mayhem when a process crasches. For my customer this happens in both IE, Firefox and Chrome.
Is there anything you can do, PHP-wise, to prevent this? Any ideas?