ID: 14552
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Open
Bug Type: Session related
Operating System: Linux
PHP Version: 4.0.6
New Comment:

It seems problem is not related with "Transfer-Encoding: chunked", because as to the 
site logs they can see the login form (previous page before the problem page with 
session).. And that page also generates "Transfer-Encoding: chunked" in headers (as 
you said, length of page content follows the header information)

Problem page sends the header below as an extra :

Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache

These lines appear only with sessions, they may be imcompatible with Mac's IE5.x. Is 
there a way to disable Cache-Control for PHP scripts? 10s of people would refuse to 
download Netscape. And I'm not able to run 4.1.0 version for a test (apxs problem...) 
Our webserver is Apache 1.13.20 RedHat RPM release.




Previous Comments:
------------------------------------------------------------------------

[2001-12-16 18:18:28] [EMAIL PROTECTED]

The HTT-Protocol in version 1.1 sends data _chunked_ (Transfer-Encoding: chunked). 
Every chunk is accompanied with it's size info, and this 180 resembles very 
suspiciously this delimitor.

In case this should turn out to be the problem, there are three factors which could be 
responsible for this problem:

- The webserver (low probability)
- PHP (impossible, as PHP has no influence on the overlying HTTP/1.1 layer)
- Your webbrowser (HIGH probability. Please ask your users to check your site with 
different webbrowsers. There are plenty of them: icab, IE, mozilla ..)

Also, try to check the script-output with http://www.ethereal.com/ . This sometimes 
helps alot.

Kind Regards,
  Daniel Lorch

------------------------------------------------------------------------

[2001-12-16 17:23:26] [EMAIL PROTECTED]

Can you try it with the latest version, php 4.1.0?

Derick

------------------------------------------------------------------------

[2001-12-16 17:21:19] [EMAIL PROTECTED]

Today I received 3 complaints, they all are Mac PowerPC users with Internet Explorer 
5.xx... Problem is that they see a blank page after trying to login.

First lines of the script starts like this :

<?
$loginstamp=time();
session_register("user");
session_register("pass");
***(some more session_register()s here)
?>

<HTML><HEAD>
*** And goes on like this...

I can access with a PC. Seeing that they get a blank page I thought there might be 
something wrong with headers(Some incompatibility with Mac??). I pasted the headers I 
received below (headers after logging on with a PC).. I have no idea what the text 180 
at the bottom is, page source starts after it.

HTTP/1.1 200 OK
Date: Sun, 16 Dec 2001 21:32:32 GMT
Server: Apache
Set-Cookie: Apache=217.31.225.13.3850100853835297; path=/; expires=Sun, 10-Mar-02 
21:32:32 GMT
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Keep-Alive: timeout=15, max=50
Transfer-Encoding: chunked
Content-Type: text/html
Connection: close

180

<HTML><HEAD>
****and the rest of the HTML code below this line...


------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=14552&edit=1


-- 
PHP Development 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]

Reply via email to