> I realize that that this is probably something incredibly easy that I've
> just overlooked while reading the docs so I apologize ahead of time...
>
> I need to pass a value that is dynamically generated at run time to the
> next Embperl doc.  I've tried doing the following:
> $fdat{'application_id'} = 'some value'; and I've also tried using the
> Apache::Session option of $udat{'application_id'} but when I read either
> of these values in the next form it's blank.
>
> Here's what happens...  I have an initial page of an online
> application.  When submit is hit it returns to itself to perform error
> checking, if there are no errors then the client is automatically
> redirected to the next page of the application form.
>
> Is setting $fdat{application_id} to a value enough to pass this along to
> the next form or do I need to somehow provide this in the URL prior to
> doing the redirect?

Setting $fdat{whatever} will have no effect on the next form, only for the
current page. You must insert a hidden field inside your form

<input type=hidden name=application_id value="[+ $foo +]">

To use %udat to pass values, you have first to setup Embperl, so that it
uses Apache::Session. Read the docs about Session HAndling. If you are
successfull, you should see a message "Embperl sesssion handling enabled" in
your Apache error log, when Embperl starts

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

Reply via email to