PHP 4.0 Bug #8108 Updated: ob_length() doesn't take into account strings added by trans-sid
| From: | phpbug at jbirch dot com | Date: | Tue, 05 Dec 2000 07:32:04 +0000 |
| Subject: | PHP 4.0 Bug #8108 Updated: ob_length() doesn't take into account strings added by trans-sid | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-40083@lists.php.net to get a copy of this message | ||
ID: 8108
User Update by: phpbug@jbirch.com
Status: Open
Old-Bug Type: Scripting Engine problem
Bug Type: Output Control
Description: ob_length() doesn't take into account strings added by trans-sid
Sorry, miscategorized.
Previous Comments:
---------------------------------------------------------------------------
[2000-12-05 02:04:24] phpbug@jbirch.com
I've got php4.3.3pl1 compiled as a CGI with --enable-trans-sid.
I currently use the ob_length function to send a Content-Length header with my semi-static pages to
enhance their cacheability. As soon as I enabled trans-sid with cookies disabled this behaviour
broke, because ob_length appears to be calculated before the SID is applied to the page. My pages
get truncated by browsers that accept the content-length header (all modern browsers).
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8108