Re: Re: problems with ob_gzhandler

From: Date: Fri, 31 Aug 2001 14:55:44 +0000
Subject: Re: Re: problems with ob_gzhandler
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-64826@lists.php.net to get a copy of this message
It should be gone with the latest CVS At 17:55 31-08-01, Wez Furlong wrote:
On 08/31/01, "Zeev Suraski" <zeev@zend.com> wrote: BTW, any chance you're using trans_sid? (can you check if php_session_start_output_handler() ends up being called for some reason?) I'm not using trans_sid but I am using sessions. My scripts generally do this:
if (!session_is_registered("sess"))     {
    $sess = array();
    session_register("sess");
} if (!broken_browser())
    ob_start("ob_gzhandler");
else
    ob_start();
The session handler is a custom handler against a mysql db. If the scripts need to redirect, they do this: session_write_close(); // Concurrency problems arise otherwise header("Location: ..."); exit(); Hope that helps; I dont have time to get in there with a debugger right now. --Wez. -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
-- Zeev Suraski <zeev@zend.com> CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/

« previous php.dev (#64826) next »