PRB: ASP.NET Does Not Encode Cookies in UrlEncode Format by Default (313282)
The information in this article applies to:
- Microsoft ASP.NET (included with the .NET Framework 1.1)
- Microsoft ASP.NET (included with the .NET Framework) 1.0
This article was previously published under Q313282 SYMPTOMS
When you develop ASP.NET applications that share cookies between earlier versions of Microsoft Active Server Pages (ASP) and ASP.NET code, the data may not be encoded or unencoded as expected.
CAUSE
In earlier versions of Microsoft Active Server Pages (ASP), cookies are encoded in UrlEncode format when they are written, and cookies are unencoded when they are read. However, ASP.NET does not encode or unencode cookies in UrlEncode format by default. As a result, you may encounter unexpected behavior in ASP.NET applications.
REFERENCESFor additional information about ASP.NET articles and resources, click the article number below
to view the article in the Microsoft Knowledge Base:
For additional information about state management in ASP.NET, click the article number below
to view the article in the Microsoft Knowledge Base:
307598 INFO: ASP.NET State Management Overview
For additional information, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
302390 HOW TO: Use Cookies in an ASP Page
For more information, refer to the following Microsoft Web sites:
Modification Type: | Minor | Last Reviewed: | 6/23/2003 |
---|
Keywords: | kbCookie kbprb kbState KB313282 |
---|
|