views:

509

answers:

2

Hello Experts,

I am explaing with a exmple what I am trying to do.

Suppose there is a site abc.com and i am working for site xyz.com

in a aspx page of xyz.com i want to have the results of a aspx page of www.abc.com/somepage.aspx conatins a textbox , a combobox a option button and a submit button i want to fill this form and want to click the submit button then to save the details in a file but i want to perfom this action on xyz.com/somepage.aspx

A: 

You could host a page on the xyz site and use an iframe to display that form on the abc site. That's probably the simplest approach. Otherwise this is a perfect scenario to use some sort of web service.

joshb
No in this case i do not host the xyz site its of any other person a third party.
Meetu Choudhary
its a kind of govt site to fill itr returns etc. form my web application
Meetu Choudhary
+1  A: 

What you are suggesting is XSS. This is usually undesired. Basically, you are looking for ways to bypass the same origin policy. A lot of browsers will block whatever you are doing. Imagine if there was an online poll on abc.com I wanted to stuff. If it was possible for me to silently interact with abc.com while visitors I was using my site, I would be doing what you want to do. I can't do it though, because there are a lot of blocks against that by browsers and web developers.

crazysim