Re: ob_start('gz_handler') and session_start()

From: Date: Wed, 05 Jun 2002 07:46:09 +0000
Subject: Re: ob_start('gz_handler') and session_start()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-100667@lists.php.net to get a copy of this message
I should add, that I also tried the code with session_start() first, then ob_start('gz_handler') -- neither way worked. Jason "Jason Caldwell" <jason@thinkingman.org> wrote in message news:20020605074409.88746.qmail@pb1.pair.com... > Is there a way to make ob_start('gz_handler') work with session_start()? > > I got them each working independently -- however, when I try to compress a > session -- my page just comes up blank. > > <? > ob_start('gz_handler'); > session_start(); > > // code and html > > ob_end_flush(); > ob_end_clean(); > ?> > > Or, is there another alternative? -- I'd like to use sessions and I'd > (definitely) like to compress my pages. > > Thanks > Jason > > >

« previous php.general (#100667) next »