You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Lukas Zapletal <lz...@bach.cz> on 2001/09/04 07:43:00 UTC
Re[2]: Two frame application
Hello Luiz,
Monday, September 03, 2001, 3:25:38 PM, you wrote:
LFBR> Olá lukas,
Olá
LFBR> If you put the $req stuff into [!!] block it will be executed just the
LFBR> first time the page is loaded.
Hmmm either in CGI mode?
Regards
Lukas Zapletal [lzap@bach.cz]
web programmer
Bach systems Ltd., Czech Republic
----------- PGP FINGERPRINT ------------
4BA4ECA3EDE9608558646ABBA14259E3459FA0B4
--------------- COOKIE -----------------
Free your software, and your ass will follow
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Re[3]: Two frame application
Posted by Gerald Richter <ri...@ecos.de>.
>
> In CGI mode you can't use $req because $req is a feature available when
> you run Embperl under of mod_perl.
>
You can use EMbperl's request object as Lukas does with:
[-
$req = shift;
$req->{appname} = "test app";
-]
but you can use Embperl's predefined variable $req_rec which is a reference
to the APache request record and therefore only available when running under
mod_perl
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re[3]: Two frame application
Posted by "Luiz Fernando B. Ribeiro" <li...@athome.pro.br>.
Olá lukas,
Reply to your message:
LFBR>> If you put the $req stuff into [!!] block it will be executed just the
LFBR>> first time the page is loaded.
LZ> Hmmm either in CGI mode?
In CGI mode you can't use $req because $req is a feature available when
you run Embperl under of mod_perl.
Sem mais,
Luiz Fernando B. Ribeiro
----------------------------
At Home - Design e Internet
contato@athome.pro.br
athome@uol.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Re[2]: Two frame application
Posted by Gerald Richter <ri...@ecos.de>.
>
> Hmmm either in CGI mode?
>
when running as CGI script everytime is the first time....
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org