You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Ilia Lobsanov <il...@lobsanov.com> on 2000/04/06 16:56:46 UTC

POST data

I'm having problems with Embperl reading POST data. It consistently hangs.
GET is working fine.
I tried setting options => 256 when calling HTML::Embperl::Execute and
sending my own form data as fdat => \%IN, but this doesn't preserve the
automatic pre-selection (ie. SELECTED being set according to previous state
of form), which my application depends on.

Thank you in advance for any help you can provide.

Ilia Lobsanov.


RE: POST data

Posted by Gerald Richter <ri...@ecos.de>.
>
> I'm having problems with Embperl reading POST data. It consistently hangs.

If the POSTED data is already read, Embperl will hang when it tries to read
the POSTED data a second time.

> GET is working fine.
> I tried setting options => 256 when calling HTML::Embperl::Execute

This is the correct solution for this problem

> and
> sending my own form data as fdat => \%IN, but this doesn't preserve the
> automatic pre-selection (ie. SELECTED being set according to
> previous state
> of form), which my application depends on.
>

This should work anyway. Are you sure %IN contains the rights keys and
values?

If yes, does it change anything if you add an addtional ffld => [keys %IN] ?

Does the problem only occurs with SELECT or also within normal text input
fields?

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 925151
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------