Click to See Complete Forum and Search --> : Perl-to-PHP


Cantaloupe
September 1st, 2010, 02:11 PM
Hi,

I have two applications, one Perl one PHP. Both applications require logins. When someone logs into the Perl application, they have the choice of switching to the PHP application. I want them be able to switch to the PHP application *without* having to login a second time.

Is this possible? What would be the best/secure method doing this?

PeejAvery
September 2nd, 2010, 08:20 PM
Use PERL to share your PHP session.

http://search.cpan.org/~miyagawa/PHP-Session-0.26/lib/PHP/Session.pm

Cantaloupe
September 4th, 2010, 10:24 PM
Interesting link. Thanks, it is good to know that the two languages can "communicate". Unfortunately it uses Perl to read PHP and rewrite it as Perl. I need Perl to pass the information to PHP and fire the PHP session.

PeejAvery
September 4th, 2010, 10:34 PM
Unfortunately it uses Perl to read PHP and rewrite it as Perl. I need Perl to pass the information to PHP and fire the PHP session.
You're missing the point. Pass the information with sessions. It doesn't matter what language starts.