From:             marekm at apnet dot pl
Operating system: All
PHP version:      4.3.7
PHP Bug Type:     Feature/Change Request
Bug description:  Possibility to make sessions read-only

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 bug report at http://bugs.php.net/?id=28888&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28888&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28888&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28888&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28888&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28888&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28888&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28888&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28888&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28888&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28888&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28888&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28888&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28888&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28888&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28888&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28888&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28888&r=float

Reply via email to