Vido81
asked on
simulating post
Hi experts,
I have an aspx page that should do 2 things:
1)When the user submits the aspx form, insert the textboxes values into the database (and i know how to do that)
2)Right after that, my code should simulate a post to another page. Basically sending the same textboxes values to another page, as if this operation was the result of a form submit.
To better explain point n. 2, I would like to have the same effect as if I was clicking on submit in the form below.
<form method="post" action="http://www.othersite.com/script.pl">
Email: <input type="text" name="from" value="" size="20">
Name:<input type="text" name="name" value="" size="20">
<input type="submit" name="submit" value="Submit">
</form>
I hope I explained myself...
Thanks.
I have an aspx page that should do 2 things:
1)When the user submits the aspx form, insert the textboxes values into the database (and i know how to do that)
2)Right after that, my code should simulate a post to another page. Basically sending the same textboxes values to another page, as if this operation was the result of a form submit.
To better explain point n. 2, I would like to have the same effect as if I was clicking on submit in the form below.
<form method="post" action="http://www.othersite.com/script.pl">
Email: <input type="text" name="from" value="" size="20">
Name:<input type="text" name="name" value="" size="20">
<input type="submit" name="submit" value="Submit">
</form>
I hope I explained myself...
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You're welcome.
ASKER
Good idea! It's working.