RE: [PHP] PHP with JSP
| From: | John W. Holmes | Date: | Mon, 09 Dec 2002 17:00:09 +0000 |
| Subject: | RE: [PHP] PHP with JSP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-127523@lists.php.net to get a copy of this message | ||
> I hava to develop a solution that use PHP and JSP. But the system has
to
> use the same session.
>
> I´ve already installed the PHP integration with Java and it works. But
I
> can´t find the class to call a session?
Well, your JSP script should receive the same cookie as your PHP script
with the session ID. You can have it search the session.save_path and
open up the file itself and create the session variables (plus implement
your own method to "save" them again). Or save your data in a database
that both PHP and JSP access in their own ways to get/save session
variables.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/