Re: [PHP] Sessions memory allocation problem

2005-01-31 Thread Richard Lynch
adrian zaharia wrote: >>> while (!feof($oFp)) { >>> echo fread ($oFp, $iReadBufferSize); Try http://php.net/flush right here. >>> } >>> fclose ($oFp); >>> exit; >>> > See this: > http://bugs.php.net/bug.php?id=31763&edit=2 > > Is not a bug but they under some configurations they cache th

Re: [PHP] Sessions memory allocation problem

2005-01-31 Thread adrian zaharia
Richard Lynch wrote: > adrian zaharia wrote: >> Hi, >> >> I am testing the following code that pushes a file to the browser >> (Apache 1.3 + PHP 4.3.8 but tested also under several other configs) >> >> Try it with a BIG test1.zip (e.g. 100M in size) >> >> > ignore_user_abort(); >> set_time_limit(0

Re: [PHP] Sessions memory allocation problem

2005-01-30 Thread Richard Lynch
adrian zaharia wrote: > Hi, > > I am testing the following code that pushes a file to the browser > (Apache 1.3 + PHP 4.3.8 but tested also under several other configs) > > Try it with a BIG test1.zip (e.g. 100M in size) > > ignore_user_abort(); > set_time_limit(0); > > session_save_path('/tmp');

[PHP] Sessions memory allocation problem

2005-01-29 Thread adrian zaharia
Hi, I am testing the following code that pushes a file to the browser (Apache 1.3 + PHP 4.3.8 but tested also under several other configs) Try it with a BIG test1.zip (e.g. 100M in size) What i discovered is that if i keep the 2 session initialisation functions the script will work ONLY if th