Login    Forum    Search    FAQ   Blog

Board index » Server Side Development » ASP 3.0




 Page 1 of 1 [ 5 posts ] 



Author Message
 Post subject: how 2 send the data 2 othr server throu URL
 Post Posted: Sun Nov 22, 2009 9:59 pm 
Offline

Joined: Sat Feb 21, 2009 2:16 pm
Posts: 41
Helo!!! every on


I would like to send the data through URL

for example (www.abc.com?name=ROLLERCOSTER&msg=hello)


One way i know is

Dim data as the Stream = client.OpenRead(finalurl)


was there another way 2 fullfill dis ?


thank u in advacne


Top 
 Post subject: Re: how 2 send the data 2 othr server throu URL
 Post Posted: Sun Nov 22, 2009 9:59 pm 
Offline

Joined: Sat Feb 21, 2009 11:06 am
Posts: 1794
If u would append da data u want 2 the URL, the Web site nd the page
to which you are sendin da data, could use da Req .QueryString
property 2 read da passd data, http://msdn.microsoft.com/en-us/library/system.
web.httprequest.querystring.aspx. Make sure that da data is
visible to the users.


Top 
 Post subject: Re: how 2 send the data 2 othr server throu URL
 Post Posted: Sun Nov 22, 2009 9:59 pm 
Offline

Joined: Sat Feb 21, 2009 1:08 pm
Posts: 549
Do u want 2 send behind da scenes or redirect the
client to it?


If its behind the scenes then you need to use HttpWebRequest class built into asp.net:

* http://aspnet.4guysfromrolla.com/articles/122204-1.aspx


If you would like tio redirect da user 2 this url then u
use Response.Redirect. I have covered this concept in my simple paypal
integration article.


Top 
 Post subject: Re: how 2 send the data 2 othr server throu URL
 Post Posted: Sun Nov 22, 2009 10:00 pm 
Offline

Joined: Sat Feb 21, 2009 1:14 pm
Posts: 54
if u were passin da data by the querystring then encrypt da
querystring before sendin it nd then decrpt it on da page where u
get it... to know how 2 encrypt nd then decrypt follow posr below...
this post


Top 
 Post subject: Re: how 2 send the data 2 othr server throu URL
 Post Posted: Sun Nov 22, 2009 10:00 pm 
Offline

Joined: Sat Feb 21, 2009 2:15 pm
Posts: 62
Sendin the data by the query string is da easiest way. If da data
was sensitive, you should encrypt it then pass just pass it as a
query string.

Another way is to write data to a central spot, either a database or the file system, and if the other website has access to that resource, it could read the data from that location.

_________________
The average woman would rather have beauty than brains, because the average man can see better than he can think.


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 5 posts ] 




Board index » Server Side Development » ASP 3.0


Who is online

Users browsing this forum: No registered users and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron