Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   page client port (http://www.velocityreviews.com/forums/t728364-page-client-port.html)

Mark 07-15-2010 10:45 PM

page client port
 
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.ToStri ng() + "/" + 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


All times are GMT. The time now is 04:18 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.