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