How to pass parameter across website domain

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Jul 2007
Posts: 55
Reputation: atplerry is an unknown quantity at this point 
Solved Threads: 3
atplerry atplerry is offline Offline
Junior Poster in Training

How to pass parameter across website domain

 
0
  #1
Apr 29th, 2009
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
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 370
Reputation: greeny_1984 is an unknown quantity at this point 
Solved Threads: 29
greeny_1984's Avatar
greeny_1984 greeny_1984 is offline Offline
Posting Whiz

Re: How to pass parameter across website domain

 
0
  #2
Apr 30th, 2009
Hi,
Are you using URL mapping and if not
you need to send the page name
  1. http//:www.buygoods.com/buy.aspx?email='"+me.txtemail+"'
  2. and retrieve it as
  3. string str=request.QueryString["email"];
If u r query is achieved,mark the thread as solved

Live and Let Live
Reply With Quote Quick reply to this message  
Join Date: Apr 2009
Posts: 225
Reputation: mail2saion is an unknown quantity at this point 
Solved Threads: 34
mail2saion's Avatar
mail2saion mail2saion is offline Offline
Posting Whiz in Training

Re: How to pass parameter across website domain

 
0
  #3
May 4th, 2009
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.
MARK AS SOLVED if its help you.

REGARDS
MCTS - Shawpnendu bikash maloroy
http://shawpnendu.blogspot.com
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for ASP.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC