Using HttpRequest Class

Discussion in 'ASP .Net' started by =?Utf-8?B?SHVzYW0=?=, Sep 20, 2007.

  1. Hi EveryBody:

    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.

    any help will be appreciated

    regard's

    husam
    =?Utf-8?B?SHVzYW0=?=, Sep 20, 2007
    #1
    1. Advertising

  2. =?Utf-8?B?SHVzYW0=?=

    Ben Schwehn Guest

    On Wed, 19 Sep 2007 22:16:01 -0700, Husam wrote:
    > 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
    Ben Schwehn, Sep 20, 2007
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Greg Reevosh via .NET 247

    HTTPRequest and JAVA Servlet

    Greg Reevosh via .NET 247, Oct 17, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    590
    Greg Reevosh via .NET 247
    Oct 17, 2004
  2. Dino Chiesa [Microsoft]

    Re: HTTPRequest and JAVA Servlet

    Dino Chiesa [Microsoft], Oct 27, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    487
    Dino Chiesa [Microsoft]
    Oct 27, 2004
  3. E11
    Replies:
    1
    Views:
    4,742
    Thomas Weidenfeller
    Oct 12, 2005
  4. Replies:
    3
    Views:
    12,512
    Alex Hunsley
    Mar 10, 2006
  5. =?Utf-8?B?SHVzYW0=?=

    Add HttpRequest class to windows application

    =?Utf-8?B?SHVzYW0=?=, Sep 24, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    366
    Chris Fulstow
    Sep 25, 2007
Loading...

Share This Page