Hello everyone,
firstofall, thanks for this great component.
I had an issue on my site, where it was impossible to browse the site when there is a download running,
I solved it with "session_write_close()" before the while loop in the download function.
Greetz,
Dutch
Hi
Thanks for the useful comment. As my php is 'simple' compared to Arno I looked it up. There seems to be some thinking along the lines of doing something like the following
/*CLOSE THE SESSION WITH USER DATA*/
session_write_close();
code to do the downloading
/*START ANOTHER NEW SESSION*/
session_start();
session_regenerate_id(); //Regenerating SID
Would appreciate your comments
Colin
sry, my php-knowledge is very limited... learning by doing ;)
I googled that solution and just wanted to share it for users with the same problem.
Regeneration the sessions sounds a good thing to do, as stated here:
https://stackoverflow.com/questions/22965067/when-and-why-i-should-use-session-regenerate-id