What I need is to open a popup window, run certain actions there and then close the popup, passing the control back to the popup calling window along with the information user entered in the popup. While opening the popup itself and running certain pages there is pretty straightforward, I have no idea how to accomplish the rest. It may be possible to transfer information between windows with the help of session, but I am not sure if both popup and calling window will belong to same one session. And I definitely do not know how to switch back to the calling window when popup has finished its work.
Any help greatly appreciated.