perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject Re: Embperl::Object::Execute missing %fdat
Date Tue, 02 Mar 2004 12:11:50 GMT
Does it change anything when you only pass %fdat and not @ffld?

Gerald


Ted Ede wrote:
> One more question.
>
> At the end of my cgi script, I either display a thanks page, or back
> them back to the form.  If going back to the form, I pass a hash of
> errors via params, which works properly.  I also want to pass back the
> form data to repopulate the form fields, which is not working after my
> switch to 2.0b10.
>
> This same code (aside from the appname/sessionhandleclass changes), is
> working fine under embperl 1.3 / apache 1.3:
>
>     my @ffld = $CGI->param;
>     my %fdat = $CGI->Vars;
>
>     # Parse with Embperl
>     $ENV{'EMBPERL_SESSION_HANDLER_CLASS'} = 'no';
>     Embperl::Object::Execute({ inputfile => $file,
>                                    output    => \$result,
>                                    options   =>
> 2|16|256|2048|8192|16384|1048576,
>                                    param     => [@params],
>                                    fdat      => \%fdat,
>                                    ffld      => \@ffld,
>                                    debug     => 0,
>                                    escmode   => 7,
>                                    session_handler_class => 'no',
>                                    object_base => 'wrapper.tmpl',
>                                    appname => 'foo'
>                           });
>
> I checked the README v.2 and could not find any changes related to
> this parameter.
>
> Also, I continue to get the warning that SessionX is missing, yet
> setting session_handler_class (both as param and environment variable
> doesn't seem to fix it.  This is very minor issue, but I figured I'd
> mention it.
>
> Any thoughts as to what to try next.
>
> thanks,
> ted
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org

---------------------------------------------------------------------------
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


Mime
View raw message