Hello.
I basically use sessions to manage a music website where people can listen to the files in a pop-up window with a real player plug-in.
When someone loads album.php I start a session and then transfer that session to play.php, which is opened in a pop-up window. In the pop-up window (play.php) I load a real player plugin that calls play2.php and based on the different variables that are registered in that session I either play the file or send them an error message.
The reason for the complicated system is a long story but itโs basically designed this way to hide the URL of the real player file.
It works great for most of the time but I have noticed that the session expires after a certain inactive time even if the browser window (album.php) is not closed.
All the variables in php.ini are set to default. SID is enabled and I am not sure why the session expires. I think it has something to do with the pop-up. I use window.open() for the pop-up.
Can anyone help me understand this? Is there a more reliable way to transfer the session between main window>>pop-up>>real player plugin? I use SID but that is included in the URL only when cookies are not available.
Thanks