Click here to Skip to main content
15,905,914 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
hi friends,

I want to do like---

1> Suppose, I have two websites name a.com and b.com.
2> I am filling form "a" in website a.com, when I submit this form
data should transfer to website b.com and the form "b" will be fill up
automatically.
3> No neet to connection with data base. just redirect on website b.com and
fill the form "b" with the data contain by form "a" of web site a.com.

4> I just meant that ->open a.com -> fill form "a" -> on submit -> open
the site b.com -> take the data coming from a.com -> fill the form
"b".
5> I don't want to use encrepted query string.
Any one can help me will appreciated.
6> I have used this code according to your suggetion
XML
<form action="b.com" method="post">
<input name="control name"/>...
</form>
 now on b.com
 request.form["CONTROL NAME"];


but no result.

any one can help me will be greate help.

Thanks,
mahesh
Posted
Updated 27-Apr-10 21:10pm
v7

vipsha wrote:
I am filling form "a" in website a.com, when I submit this form
data should transfer to website b.com and the form "b" will be fill up
automatically


Pick the data saved by a.com database and fill the fields in b.com!

Even if you are assuming a case where two webpages are open. One with a.com and other with b.com, the moment you fill a.com and submit, b.com forms autofill:
Keep a continous timer on b.com to check if data exists in DB, the moment a.com saves in DB, fetch it internally and fill b.com.


Though the question asked and expected is weird.
 
Share this answer
 
The best you could do, is have pages on b.com use AJAX to see if the data in question is in a common database used by both sites, and populate accordingly.
 
Share this answer
 
What you want is to transfer from site a to site b ? In that case, what you want to do, is put the data on the URL you redirect to, and read it from there inside the page in site b. I thought you meant both pages were already open, not that the browser that was on site a will jump to site b.

Of course, what you're asking is impossible unless you write both site a and site b, or unless you know for sure that site b will take data on the URL in the manner you're hoping.
 
Share this answer
 
Hi,


Try to pass the data using encrypted query string from a.com, and read the query string , parse and display in b.com.
 
Share this answer
 
Hi,

add the controls in form for which data to be posted.
with form as method "post" and action contains the redirection url and on submit it redirect to b.com
At A.com

...


At B.com
u can pick the details in b.com
like request.form["CONTROL NAME"];
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900