[PHP] Output Compression stops working after a while

2003-02-12 Thread Zavier Sheran
I enabled output comression in php.ini with

zlib.output_compression = On
zlib.output_compression_level = -1

also, I loaded the gzip module in httpd.conf with

LoadModule gzip_module modules/mod_gzip-1.3.19.1a.so

Now, when I restart Apache, I get compressed output. But after an hour or so
Apache stops compressing the output and sends it uncompressed.

I check compression with phpinfo() and also by plain browsing the difference
in speed is obvious.

Any ideas what could cause this???

Any input appreciated!

-Zavier



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Error on session_start()

2001-10-19 Thread Zavier Sheran

When I try to start a session or authenticate with HTTP headers, I get the
following error:

Warning: Cannot send session cache limiter - headers already sent (output
started at /usr/local/etc/httpd/vhosts/gar/english/login/login_2.php:1) in
/usr/local/etc/httpd/vhosts/gar/english/login/login_2.php on line 1


It always says the headers were already sent. What could be the cause?

It happens on my dev server (Win32, PHP 4.06) and on my ISP's virtual server
(FreeBSD, PHP 4.04)

-Zavier



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Forms lose data when going "back" in browser

2001-11-28 Thread Zavier Sheran

I have a submission form distributed over 5 pages. When the user hits the
"back" button in the browser on one of the pages to make changes on a
previous page, all fields are emptied. This is only when I have a session
running. When I use the same pages without the session, the data stays in
the form. 

So I understand that the session expires the page immediately after leaving
it. Is there a way to give the page a few minutes before it expires or a
similar behaviour? 

Thanks a lot. 

-Zavier


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Forms lose data when going "back" in browser

2001-12-05 Thread Zavier Sheran

I have a submission form distributed over 5 pages. When the user hits the
"back" button in the browser on one of the pages to make changes on a
previous page, all fields are emptied. This is only when I have a session
running. When I use the same pages without the session, the data stays in
the form. 

So I understand that the session expires the page immediately after leaving
it. Is there a way to give the page a few minutes before it expires or a
similar behaviour? 

Thanks a lot. 

-Zavier


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]