Using HttpRequest Class

B

Ben Schwehn

Is there any way by using HttpRequest Class to control the user request
?

to make my question clear for example: how can I know If the user
request http://www.yahoo.com and transfer its request to
http://www.google.com.

Hello Husam,

For this you have to either control the server at yahoo.com, or force
your users to use a proxyserver that you control.

What are you trying to archieve?
If a user request a page on *your* server and you want to redirect, it's
a simple matter of calling response.Redirect, Server.Transfer or
HttpServerUtility.TansferRequest (for IIS7)

Ben
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top