Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Is there an equivalent to doing this programmatically:

 

<form name="form1" id="form1" method="post" action="https://remotesite.com/xample.php">

<input type="hidden" name="transaction" value="whatever" />

 

I want to be able to set those hidden values in my code dynamically before the user goes to the foreign site to which I have no control.

 

I tried response.addheader , response.appendheader before calling a response.redirect...

 

Can't seem to find an answer.

 

by the way, server.transfer doesn't work either.

 

Thanks

Laredo512

* using VS.NET Pro 2003 *

Posted
What code do you have so far?

Dim var1 as string = "Price"
Dim var2 as string = "30.00"

Response.AppendHeader(var1,var2)
Response.Redirect("[url="http://www.3rdpartysite.com/tx.php"]http://www.3rdpartysite.com/tx.php[/url]")

Laredo512

* using VS.NET Pro 2003 *

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...