You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Edouard Lagache <la...@canebas.org> on 2004/03/17 03:54:14 UTC

resetting - Embperl::Object::Execute ?

Dear Embperl-ophiles,

Is there some way to make an Embperl::Object::Execute call ignore any
previous calling context or to reset all inheritance?  

I'm running into a problem trying to run more than one object-oriented
ecard site on my Penguin Greetings software.  My use of
Embperl::Object::Execute works perfectly under standard CGI, but when I
use a persistent Perl interpreter via SpeedyCGI, object-oriented ecard
sites interfere with each other.  The first ecard site becomes the
environment used for the second ecard site, the EMBPERL_OBJECT_BASE and
EMBPERL_OBJECT_ADDPATH from the first site are used before the entries
provided in the second call to Embperl::Object::Execute.  I'm guessing
that Embperl::Object isn't expecting that it would remain persistent
between calls for two totally different sites.

Is there some way for me to abandon or override previous inheritance so
that I can still use SpeedyCGI with Embperl::Object and more than one
ecard site?

Thanks in advance to everyone!

Peace, Edouard :-)


==================================
Edouard Lagache
Lead Developer, Penguin Greetings
http://pgreet.sourceforge.net/
pgreetdev@canebas.org



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Thanks! perfect! (Re: resetting - Embperl::Object::Execute ?)

Posted by Edouard Lagache <la...@canebas.org>.
Thanks Gerald!

Indeed, Penguin Greetings working exactly as it should once more!

Thanks for all your efforts for all of us! :-)

Peace, Edouard :-)

================================

Gerald Richter <ri...@ecos.de> wrote at Wed, 17 Mar 2004 07:50:36 +0100

>>
>> Is there some way to make an Embperl::Object::Execute call ignore any
>> previous calling context or to reset all inheritance?
>>
>
>You need to set a different EMBPERL_APPNAME for every of your sites and
>everything will work well
>
>Gerald
>
>
>---------------------------------------------------------------------------
>Gerald Richter            ecos electronic communication services gmbh
>IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl
>
>Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
>E-Mail:     richter@ecos.de          Voice:   +49 6133 939-122
>WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
>---------------------------------------------------------------------------
>Besuchen Sie uns auf der CeBIT (18. - 24. März 2004)
>Halle 6 Stand B38-452
>
>ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
>---------------------------------------------------------------------------
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
>For additional commands, e-mail: embperl-help@perl.apache.org
>


==================================
Edouard Lagache
Lead Developer, Penguin Greetings
http://pgreet.sourceforge.net/
pgreetdev@canebas.org



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: resetting - Embperl::Object::Execute ?

Posted by Gerald Richter <ri...@ecos.de>.
>
> Is there some way to make an Embperl::Object::Execute call ignore any
> previous calling context or to reset all inheritance?
>

You need to set a different EMBPERL_APPNAME for every of your sites and
everything will work well

Gerald


---------------------------------------------------------------------------
Gerald Richter            ecos electronic communication services gmbh
IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
---------------------------------------------------------------------------
Besuchen Sie uns auf der CeBIT (18. - 24. März 2004)
Halle 6 Stand B38-452

ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
---------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org