Re: Re: PHP 4.0 Bug #7439 Updated: PHP lost the session on a include call
| From: | Sascha Schumann | Date: | Fri, 27 Oct 2000 09:59:54 +0000 |
| Subject: | Re: Re: PHP 4.0 Bug #7439 Updated: PHP lost the session on a include call | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-36145@lists.php.net to get a copy of this message | ||
On Fri, 27 Oct 2000, Justo Alonso wrote:
> Bug Database wrote:
> >
> > ID: 7439
> > Updated by: sas
> > Reported By: jalonso@baquia.com
> > Status: Feedback
> > Bug Type: *Session related
> > Assigned To:
> > Comments:
> >
> > If you want us to help you, please give us the information we need. What
> > application server? How do PHP and the application server interact?
> >
> Ok, of course.
>
> The application server is Bea WebLogic 5.1.
>
> PHP does an include from an url to an Apache webserver. In the apache
> webserver, a bea module, bridges the request to the application
> server.
>
> In the form:
> <? include("http://$SERVER_NAME/weblogic/ServletName"~–?OP
> ‚CM–EÎŒÉ) ?>
>
> In the Apache httpd.conf file:
> LoadModule weblogic_module libexec/mod_wl.so
> AddModule mod_weblogic.c
>
> <Location /weblogic>
> SetHandler weblogic-handler
> PathTrim /weblogic
> </Location>
>
> Thanks, if you need another information, please, ask me
The SID gets lost in this case, because it is unsafe to relay
the SID to foreign hosts. So, if you want to force relaying
the session id, you need to write
include("http://servername/path/servlet?".SID);
- Sascha