perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Rayner" <dray...@savicom.net>
Subject Re: Access to CGI object (was: Use Embperl 2.0 or 1.3.6? (was: Change in behavior of <TH> in 2.0?))
Date Wed, 21 Apr 2004 00:39:00 GMT
Gerald;

Were you able to develop the final solution to this?  Is the CGI object now
available from the request object?  If so, would it be in the latest
distribution kit yet?

Thanks and regards,

Doug Rayner
Senior System Architect
Savicom: Next Generation eMail Marketing
http://www.savicom.net
(415) 617-9006

----- Original Message ----- 
From: "Gerald Richter" <richter@ecos.de>
To: "Doug Rayner" <drayner@savicom.net>
Cc: <embperl@perl.apache.org>
Sent: Monday, March 08, 2004 11:24 AM
Subject: Re: Access to CGI object (was: Use Embperl 2.0 or 1.3.6? (was:
Change in behavior of <TH> in 2.0?))


> Doug Rayner wrote:
> > Gerald;
> >
> > Are you open to suggestions for changes to Embperl 2.0 at this point?
> >
>
> I am always open to suggestion, also I will main do bugfixing before the
> final 2.0 release
>
> > We would like to get access to the temporary files behind the file
> > handles provided for file uploads.  We would need access to the CGI
> > object used in the function get_multipart_formdata() in Embperl.pm.
> > Unfortunately, the object reference for the CGI object is in a my
> > variable and goes out of scope as soon as the function exits.  It
> > would be nice if this object reference could stay in scope and
> > accessble to the template throughout the whole request.  It could be
> > added to the %fdat hash, or put in some other global variable.
> >
> > Any thoughts on this?  We would prefer not to hack the distributed
> > sources for Embperl to accomplish this.  A supported method for
> > accomplishing this would be much preferable.
> >
> >
>
> The latest CVS version adds the CGI object as
>
> $fdatsplit{___CGI___}
>
> because CGI 3.01+ deletes the temp file as soon as it goes out of scope,
so
> I have to keep the object.
>
> But be warned this is undocumented yet and is likely to change in favor
for
> a real Embperl request method.
>
> Gerald
>
> P.S. Please send such mails to the Embperl mailing list
>
>
> --------------------------------------------------------------------------
-
> 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