POST FORM DATA TO EXTERNAL PAGE

Rowdyone52
Rowdyone52 used Ask the Experts™
on
How can I post form data to an external page without going to that page?  I just need to post the data but not let the user see it.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
1. Do a post with server-side code
2. Do a client-sidepost with javascript (xmlhttp)
3. Do something with a hidden frame
Hi,

If I've read your question correctly, you could use Javascript to make an asynchronous XMLHttpRequest to the external page url with the form data you want to send. You could handle the reply silently, so the user would be unaware. Although they would know if they were monitoring their network traffic closely, but generally speaking they would get no real indication from the browser that the data was being sent.

regards,
Psyberion.
Senior Software Developer
Commented:

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial