Hi Everyone.

I have been given some code by a online payment system company to show
how I redirect someone to there site. The way they have done I have to
include a list of form fields in a form and submit that form a CF
script on my server and that then does some encrpyting of the data and
then redirects to their server. However, I'm not happy with the way it
does the redirect as it requires _javascript_, and as I know from
experiance some people turn _javascript_ off for 'security reasons' and
the like. Here is the their example code:

<cfoutput>
  <FORM action="" method="post" id=form1 name="Test">
    <input type="hidden" name=VPSProtocol value="2.20">
    <input type="hidden" name=TxType value="PAYMENT">
    <input type="hidden" name=Vendor value="#VendorName#">
    <input type="hidden" name=Crypt value="#Crypt#">
  </FORM>
</cfoutput>
<script language="_javascript_" type="text/_javascript_">
  document.Test.submit();
</script>

Personally I think this is terrible, so my question is how do I do the
same redirect in CF? Surely I can it some how?

Thanks

Andrew.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to