ID:               28888
 Updated by:       [EMAIL PROTECTED]
 Reported By:      marekm at apnet dot pl
-Status:           Open
+Status:           Closed
 Bug Type:         Feature/Change Request
 Operating System: All
 PHP Version:      4.3.7
 New Comment:

use session_write_close() before you start sending your file.


Previous Comments:
------------------------------------------------------------------------

[2004-06-23 08:19:43] marekm at apnet dot pl

Description:
------------
I'm using a php script that uses sessions and send really big files as
output to the users. As the files are opened in popup windows I
recently noticed that other scripts (with the same session id) are
locked until the first send all data to the user. 
I think that solution could be quite simple:
If session_stat() had a parameter like eg. readonly (defaults to false)
PHP engine didn't have to lock session file for the lifetime of whole
PHP script but only for the time of reading session file.
That would dramatically improve performance in scripts like mine.




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=28888&edit=1

Reply via email to