Hi,
>
>
> However, I guess I have found another small difference between CGI-
> and mod_perl-based Embperl, regarding $escmode.
>
> >From my tests, I get the impression that setting $escmode in an
> Embperl page also has impact on the $escmode setting in other
> Embperl pages - that is, $escmode is _not_ resetted or set to a default
> the beginning of every Embperl page.
> For me, this results in a different escaping behaviour, depending on
> the Apache child serving the request an on the $escmode setting of
> the page served before.
>
> Is this the "planned" behaviour of Embperl, or should it be considered
> a bug or missing feature?

It's neither a bug (of Embperl), nor a feature. I am very sure that Embperl
resets escmode to 3 upon start of _every_ request and that pages don't
impact each other(otherwise many of my pages won't work). There must be
another reason why this happens...

> May I set a default $escmode by using
> PerlSetenv in httpd.conf?
>

PerlSetEnv EMBPERL_ESCMODE 3

see "perldoc HTML::Embperl"  :-)

Gerald


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925151
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to