[PHP-DEV] Re: Project: Accessing HTTP reply header of include("http://..") From: Justo Alonso (jalonso <email protected>)
Date: 10/27/00

Sascha Schumann wrote:
>
> > Ok, but in a initial enviroment:
> >
> > # The client do the first request (not SID, yet)
> > GET /index.php HTTP/1.0
> > Host: x.x.x.x
> > .....
> >
> > # the include in php file
> > <? include("http://servername/weblogic/servlet"); ?>
> > # the request of php
> > GET /weblogic/servlet HTTP/1.0
> > Host: x.x.x.x
> > .....
> > # the servlet answers
> > Set-Cookie: WebLogicSession=SID
> >
> > # the PHP answers
> >
> > <HTML_CODE>
> >
> > # then, the initial cookie isn't set!! the client never gets the
> > cookie!!
> >
> > my problem is that the session manager is the application server, not
> > PHP.. ;((
>
> Sorry, you are out of luck then. PHP's include stuff
> currently does not provide any way to access the header of
> the HTTP reply. Sounds like a nice project though. Anyone
> around who wants to implement it?
>
   Ups... ok. I have tried it, but the source code it's very difficult
   for me, if someone can help me, we can try.

   the proxy function proyect.. ;)))

   thanks, sascha.

> - Sascha

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>