By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,474 Members | 1,001 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,474 IT Pros & Developers. It's quick & easy.

QUERY_STRING server variable differences in .NET 1.1 and 2.0

P: n/a
Hi, all. I recently migrated a website from IIS5.0 (running on Windows
2000 Server SP4) to IIS6.0 (running Windows Server 2003 SP1). The
ASP.NET
version is upgraded from 1.1 to 2.0 as well. I found
that the value of the server variable "QUERY_STRING" differs. I don't
know if it is
because of the IIS version change or the .NET version change.

For example :
IIS5.0 and ASP.NET 1.1 : it returns http://www.test.com/mypage
IIS6.0 and ASP.NET 2.0 : it returns http://www.test.com:80/mypage
My question is : Is there a way to hide the port number from returning
in the QUERY_STRING server variable in IIS6.0 and ASP .NET 2.0?

Thanks for answering.

-Andrew

Jan 15 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.