Duplicate ASP Collection Key Name with Different Cases Across the Collections Not Advised (265372)
The information in this article applies to:
- Microsoft Internet Information Services version 6.0
- Microsoft Internet Information Server 4.0
- Microsoft Internet Information Services 5.0
This article was previously published under Q265372 SYMPTOMS
The key names of the Active Server Pages (ASP) collections - ClientCertificate, Cookie, Form, and QueryString - are not case-sensitive. "MyVar" and "myvar" would reference the same collection.
You should avoid using the same name with different cases for different ASP collections. For example, don't use "MyVar" for a cookie name and "myvar" for a form name. Depending on the ASP page, the form name in this case might be misunderstood as the cookie name, and the cookie pair myvar=aValue (not MyVar=aValue as expected) may be returned to the browsers in such a situation.
Modification Type: | Major | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbfix kbprb kbWin2000PreSP2Fix KB265372 |
---|
|