473,396 Members | 1,760 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

QUERY_STRING server variable differences in .NET 1.1 and 2.0

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
0 999

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: deko | last post by:
I use http variables with php - not sure if I've got the nomenclature correct, so here's an example of what I'm talking about: A navbar sends "somepage.php?somevariable" when the link is clicked....
5
by: PhilM | last post by:
Could someone give me the topics to look up on php.net, to be able to work out how to remove stuff added to a query_string? I wish to check $QUERY_STRING, and remove any user added extras. TIA...
25
by: wd | last post by:
I want my server to send a 404 header if a URL with a query string is requested. So if a browser or spider requests something like www. my_site .com?p=chair they would get a 404... But if they...
4
by: benwylie | last post by:
I am running IIS 6.0 on Windows 2003. I would like to be able to run a perl script from a web page and include the output. I have tried doing it with an ssi: <form action='docsearch.shtml'...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.