471,337 Members | 978 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

EXECUTE a WEB PAGE IN C#

i want to execute a url which is not in my web server. Is there any command
like server.execute to implement that task in my c # codebehind ?
Feb 9 '06 #1
3 1524
What do you mean with "execute"? You can redirect to this page with
HttpResponse.Redirect , or Server.Transfer

---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche


"Savas Ates" wrote:
i want to execute a url which is not in my web server. Is there any command
like server.execute to implement that task in my c # codebehind ?

Feb 9 '06 #2
I want to call a web page without showing it.. It should be in my codebehind
not aspx part ..

http://isbuluyorum.com/index.asp?prid=12&sid=12

it shoult have same task with this

<img src="http://isbuluyorum.com/index.asp?prid=12&sid=12" width=0 height=0
border=0>

Feb 9 '06 #3
try to use the following classes to perform a http GET or POST action:

System.Net.HttpWebRequest
System.Net.HttpWebResponse

or System.Net.WebClient

Feb 9 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Brian Burgess | last post: by
reply views Thread by bbenham | last post: by
3 posts views Thread by Sophos | last post: by
2 posts views Thread by Dune | last post: by
2 posts views Thread by Chuck Haeberle | last post: by
2 posts views Thread by Ryan Taylor | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.