page client port

Discussion in 'ASP .Net' started by Mark, Jul 15, 2010.

  1. Mark

    Mark Guest

    Hi,

    I have ASP.NET application. In IIS application port is set to 80, but
    for the world it is redirected to port 8001.

    I build url adress :
    String str = HttpContext.Current.Request.Url.Port + ":" +
    HttpContext.Current.Request.ApplicationPath.ToString() + "/" + link;

    But the variable:
    HttpContext.Current.Request.Url.Port is equal 80,because server
    doesn't see that the page is redirected to 8001.

    How can I detect the client seen port ?

    Thanks for help
    Mark
     
    Mark, Jul 15, 2010
    #1
    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. John T. Goodman

    Overhead of 4-port over 2-port SRAM

    John T. Goodman, Jan 25, 2005, in forum: VHDL
    Replies:
    0
    Views:
    641
    John T. Goodman
    Jan 25, 2005
  2. Sean Wolfe
    Replies:
    1
    Views:
    2,300
    Joerg Jooss
    Apr 28, 2005
  3. b3ny
    Replies:
    11
    Views:
    950
    Babu Kalakrishnan
    Nov 20, 2004
  4. Gerald Klix
    Replies:
    0
    Views:
    1,311
    Gerald Klix
    Oct 26, 2005
  5. Pom
    Replies:
    2
    Views:
    1,775
    Bas-i
    Jan 31, 2007
Loading...

Share This Page