954,580 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How to pass parameter across website domain

Hello
i want to collect value from a website e.g called www.buygoods.com pass the value to my secure and process the transaction and send the the value back to the destination website. Pls how can i get this done, I try using query string to redirect to the my server but the value was not pass along it.
I use response.redirect("http//:www.buygoods.com/buy?email"+me.txtemail)

and the destination webpage
me.txtemail=resquest.querystring("email")

No value was pass across pls help me figure out what to do and solution to pass value accross website. Thanks

atplerry
Junior Poster in Training
58 posts since Jul 2007
Reputation Points: 10
Solved Threads: 3
 

Hi,
Are you using URL mapping and if not
you need to send the page name

http//:www.buygoods.com/buy.aspx?email='"+me.txtemail+"'
and retrieve it as
string str=request.QueryString["email"];
greeny_1984
Posting Whiz
372 posts since Apr 2007
Reputation Points: 25
Solved Threads: 29
 

change the line to response.redirect("http//:www.buygoods.com/buy?email="+me.txtemail)

And check the destination page addressbar that email contains the value.

But never try to pass secured info cause query string is not safe. To pass secure info you can try with form submit.

mail2saion
Posting Whiz in Training
247 posts since Apr 2009
Reputation Points: 26
Solved Threads: 44
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You