bug with sessions and output-compression?????
| From: | Sebastian Stadtlich | Date: | Fri, 27 Apr 2001 09:21:18 +0000 |
| Subject: | bug with sessions and output-compression????? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-50581@lists.php.net to get a copy of this message | ||
Hi
I just rewrote a website to use sessions all over the site. on one page
i used
output-compression just to test it. if i use MSIE everything just works
fine, BUT:
if i use Netscape WITHOUT cookies the PHP does not rewrite the relative
urls....
here is the code of the page :
session_start();
function my_obstart() {
$encoding = getenv("HTTP_ACCEPT_ENCODING");
if (eregi("gzip",$encoding))
{
ob_start("ob_gzhandler");
} else
{
ob_start();
}
}
my_obstart();
...
...
i can't view the html-source-code when using netscape and compression,
so i don't
know exactly what arrives at the browser....
thanks
Sebastian