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. Advertisements

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:
    842
    John T. Goodman
    Jan 25, 2005
  2. Sean Wolfe
    Replies:
    1
    Views:
    2,562
    Joerg Jooss
    Apr 28, 2005
  3. b3ny
    Replies:
    11
    Views:
    1,166
    Babu Kalakrishnan
    Nov 20, 2004
  4. Pom
    Replies:
    3
    Views:
    2,239
    AlexxGreen
    Jul 15, 2016
  5. THurkmans
    Replies:
    14
    Views:
    3,044
    Mike Treseler
    Aug 11, 2009
  6. Merciadri Luca
    Replies:
    2
    Views:
    1,272
    Merciadri Luca
    Nov 2, 2010
  7. Sam Roberts
    Replies:
    11
    Views:
    447
    GOTOU Yuuzou
    Mar 23, 2005
  8. Replies:
    1
    Views:
    876
    Toni Erdmann
    Mar 2, 2005
Loading...