[phplib] Sessions ploblem with my ISP From: Renato Lins (thebest <email protected>)
Date: 05/29/00

Helo all,

I need help.

In my internal network, I have a RED HAT like linux called Conectiva Linux,
It works FINE.
I use apache 1.3.12, with php 3.0.16 with gd and mysql support, and PHPLIB.
that works fine.

But when I send my pages to my ISP that use RH 6.2 with apache 1.3.12 and
php 3.0.16 compiled exactly igual to my. Except that my apache is a rpm
instalation and their is a compiled instalation.
They follow all my instructions to compile php and phpinfo() returns exactly
igual to mine.

BUT .....

When phplib try to open a session, I got an error, each brow returns a
diferent information. Some say EMPTY PAGE, other say ZERO LENGHT, and IE5
say Cant open this page.

So I try to use " wget -s -d " to monitor the connection, since wget acts
igual to a regular browse.

Here what I got. Note that after the 302 Moved Temporarily, the new location
is set correct and session is correct write to mysql table, but the server
closes the connection with no further explanation.
I tried to talk to my isp but they know jack about apache and even less
about php. I am quite sure that the problem is in apache instalation, but
since their phpinfo() is exactly igual to my, I don't know what it could be
the ploblem.

------------------------ return of wget -s -d
http://pronturiomedico.com/temp/teste.php3 ---------------------
DEBUG output created by Wget 1.5.3 on linux-gnu.

parseurl ("http://prontuariomedico.com/tmp/teste.php3") -> host
prontuariomedico.com -> opath tmp/teste.php3 -> dir tmp -> file
teste.php3 -> ndir tmp
--14:52:46-- http://prontuariomedico.com:80/tmp/teste.php3
           => `teste.php3'
Conectando-se a prontuariomedico.com:80... Created fd 3.
conectado!
---request begin---
GET /tmp/teste.php3 HTTP/1.0
User-Agent: Wget/1.5.3
Host: prontuariomedico.com:80
Accept: */*

---request end---
HTTP request sent, awaiting response... HTTP/1.1 302 Found
Date: Mon, 29 May 2000 18:40:04 GMT
Server: Apache/1.3.12 (Unix) mod_perl/1.22 PHP/3.0.16 mod_fastcgi/2.2.4
X-Powered-By: PHP/3.0.16
Status: 302 Moved Temporarily
Location:
http://prontuariomedico.com:80/tmp/teste.php3?Pmsess=0c89c2ed9cf42036ef6ff37
8d49a135d
Set-Cookie: Pmsess=0c89c2ed9cf42036ef6ff378d49a135d; expires=Monday,
29-May-00 18:55:04 GMT; path=/
Connection: close
Content-Type: text/html

Localização:
http://prontuariomedico.com:80/tmp/teste.php3?Pmsess=0c89c2ed9cf42036ef6ff37
8d49a135d [seguinte]
Closing fd 3
parseurl ("http://prontuariomedico.com/tmp/teste.php3") -> host
prontuariomedico.com -> opath tmp/teste.php3 -> dir tmp -> file
teste.php3 -> ndir tmp
parseurl
("http://prontuariomedico.com:80/tmp/teste.php3?Pmsess=0c89c2ed9cf42036ef6ff
378d49a135d") -> host prontuariomedico.com -> port 80 -> opath
tmp/teste.php3?Pmsess=0c89c2ed9cf42036ef6ff378d49a135d -> dir tmp -> file
teste.php3?Pmsess=0c89c2ed9cf42036ef6ff378d49a135d -> ndir tmp
parseurl
("http://prontuariomedico.com:80/tmp/teste.php3?Pmsess=0c89c2ed9cf42036ef6ff
378d49a135d") -> host prontuariomedico.com -> port 80 -> opath
tmp/teste.php3?Pmsess=0c89c2ed9cf42036ef6ff378d49a135d -> dir tmp -> file
teste.php3?Pmsess=0c89c2ed9cf42036ef6ff378d49a135d -> ndir tmp
--14:52:52--
http://prontuariomedico.com:80/tmp/teste.php3?Pmsess=0c89c2ed9cf42036ef6ff37
8d49a135d
           => `teste.php3?Pmsess=0c89c2ed9cf42036ef6ff378d49a135d'
Conectando-se a prontuariomedico.com:80... Created fd 3.
conectado!
---request begin---
GET /tmp/teste.php3?Pmsess=0c89c2ed9cf42036ef6ff378d49a135d HTTP/1.0
User-Agent: Wget/1.5.3
Host: prontuariomedico.com:80
Accept: */*

---request end---
HTTP request sent, awaiting response...
End of file reading headers
Closing fd 3
giveing up.

-------------------------------------------------- end of debug
information -------------------------------------------------

Thanks for you attention
Renato Lins

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>