943,706 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 949
  • ASP.NET RSS
Apr 29th, 2009
0

How to pass parameter across website domain

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 3
Junior Poster in Training
atplerry is offline Offline
58 posts
since Jul 2007
Apr 30th, 2009
0

Re: How to pass parameter across website domain

Hi,
Are you using URL mapping and if not
you need to send the page name
ASP.NET Syntax (Toggle Plain Text)
  1. http//:www.buygoods.com/buy.aspx?email='"+me.txtemail+"'
  2. and retrieve it as
  3. string str=request.QueryString["email"];
Reputation Points: 25
Solved Threads: 29
Posting Whiz
greeny_1984 is offline Offline
372 posts
since Apr 2007
May 4th, 2009
0

Re: How to pass parameter across website domain

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.
Reputation Points: 26
Solved Threads: 44
Posting Whiz in Training
mail2saion is offline Offline
247 posts
since Apr 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: Product Catalogue in ASP.net 2.0 and MS access
Next Thread in ASP.NET Forum Timeline: Possible to Upload multiple documents at a time??





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC