note 9239 rejected and deleted from session_start by ronabop
| From: | ronabop@php.net | Date: | Wed, 25 Oct 2000 23:56:47 +0000 |
| Subject: | note 9239 rejected and deleted from session_start by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6964@lists.php.net to get a copy of this message | ||
Has anyone had problems with (what look like) memory leaks with session?
I have a script that reads document information from a database (filetype, original file size,
filename, mime type/subtype etc), uses this info to set the appropriate HTTP headers, and then uses
readfile() to pass the file to stdout.
This works absolutely fine until I add session_start() to the script. If I do this while a session
is alive, all the documents come through garbled. Take the session_start() call out and it's
fine again.
Is this due to session hogging memory and messing up readfile? Or something else? Any clues?
Cheers
Igor.