Re: Project: Accessing HTTP reply header of include("http://..")
| From: | Justo Alonso | Date: | Fri, 27 Oct 2000 11:15:51 +0000 |
| Subject: | Re: Project: Accessing HTTP reply header of include("http://..") | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-36152@lists.php.net to get a copy of this message | ||
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