Bug #12299: Opening a new session truncates the html output
| From: | flatline at mail dot tvnet dot hu | Date: | Sat, 21 Jul 2001 16:16:17 +0000 |
| Subject: | Bug #12299: Opening a new session truncates the html output | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-60483@lists.php.net to get a copy of this message | ||
From: flatline@mail.tvnet.hu
Operating system: Debian Potato 2.2.19
PHP version: 4.0.6
PHP Bug Type: Session related
Bug description: Opening a new session truncates the html output
CODE SNIPPET:
<?
session_start();
echo '
<html>
<head>
</head>
<body>
some text here
</body>
</html>
';
?>
The output will be the following:
<html>
<head>
</head>
<body>
some text here
</body>
</
It truncates the last </html> tag! When I reload the page, it displays
correctly. When I open a new browser (so a new session id must be created),
the problem is the same.
When I close the session with session_destroy before the output, then it
works fine.
CONFIGURE LINE:
'../configure' '--prefix=/usr' '--with-apxs=/usr/bin/apxs'
'--with-regex=system' '--with-config-file-path=/etc/php4/apache'
'--disable-rpath' '--disable-debug' '--enable-memory-limit'
'--enable-calendar' '--enable-sysvsem' '--enable-sysvshm'
'--enable-track-vars' '--enable-trans-sid' '--enable-bcmath'
'--with-bz2'
'--enable-ctype' '--with-db2' '--with-ndbm' '--enable-exif'
'--enable-filepro' '--enable-ftp' '--with-gettext'
'--with-mm'
'--enable-mbstring' '--enable-mbstr-enc-trans'
'--with-pcre-regex=/usr'
'--enable-shmop' '--enable-sockets' '--enable-wddx'
'--enable-yp'
'--with-zlib' '--without-pgsql' '--disable-static'
'--with-layout=GNU'
'--with-gd=shared,/usr' '--with-jpeg-dir=shared,/usr'
'--with-png-dir=shared,/usr' '--with-mhash=shared,/usr'
'--with-mysql=shared,/usr'
ADDITIONAL SYSTEM DESCRIPTION:
APACHE 1.3.20
--
Edit bug report at: http://bugs.php.net/?id=12299&edit=1