Re: PHP 4.0 Bug #7439 Updated: PHP lost the session on a include call
| From: | Justo Alonso | Date: | Fri, 27 Oct 2000 08:55:43 +0000 |
| Subject: | 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-36143@lists.php.net to get a copy of this message | ||
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")
?>
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
Justo.
> Previous Comments:
> ---------------------------------------------------------------------------
>
> [2000-10-24 16:48:03] jalonso@baquia.com
>
> When I use session (a php session or another application server
> session manager), and I call a include function, in this call to another
> file (other PHP file or servlet), PHP losts the session cookie.
>
> I sniff the packets between the application server an the apache
> web server and I test it.
>
> What can I do??.
>
> I think that another function of PHP must leave pass the HTTP headers
> to propage sessions (or another cookies).
>
> I've tried to modify PHP source (create another include function), but
> it's very difficult.
>
> thanks, in advance
> Justo.
>
> ---------------------------------------------------------------------------
>
> Full Bug description available at: http://bugs.php.net/?id=7439