Hi Heiko,

Thanks for getting back to me. Just to make things a little clearer, the 
external site is paypal and the form I am trying to validate with a captcha 
is a paypal "Buy now" button. Which is more or less just a submit button 
with a bunch of hidden fields, but then requires the user to interact with 
the paypal site to complete the purchase.

First of all, it never even crossed my mind to try to change the form 
method to GET until you mentioned it in your second point. So I tried it 
out and it worked! Now I can build the url after the successful validation 
and use the redirect_to method to send the user off to paypal with the 
required parameters...thanks for the suggestion!
 

> 1) You could send a HTTP 307 redirect to your user with the URL of the 
> external site; since all data from the form will be re-send by the browser, 
> the external site will also receive the captcha info - which may or may not 
> cause problems.
>
 
Just out of curiosity, when I read your first point it sounded like exactly 
what I needed...and if I can figure out how to implement it, it may be 
preferable than displaying all the hidden parameters to the user in the url 
field. How exactly can I do the 307 redirect? Is it something that I can 
trigger with mojolicious?

Many thanks again!

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to