Hello.
I have two pages.
Page1.php is requested by the browser.
It loads a plugin in the browser, and set a session variable $x=yes. The plugin that is loaded requests page2.php. After page2.php is executed i want to make the session variable $x=no but i cant do this because all the headers sent are recieved by the plugin and not the broswer. the plugin gets confused with the header information and hangs.
So is there any way to change the session variable $x=no after play2.php is executed by the plugin?
These are some of my ideas but i dont know which one is better and which one will work
1 = open the session files with fopen and modify the variable
2 = at the bottom of page2.php include, require, execute some script that will send the headers to the browser. (do i need to open a pop-up for this?)
3 = Is there any way to schedule a session variable to expire after n number of second?
Any other ideas?
Thanks for your help.
Ed