Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Description of the documentation error in the


View products that this article applies to.

Summary

This article describes the undocumented change in behavior of the HttpServerUtility.Transfer method call from the Microsoft .NET Framework 1.0 to the Microsoft .NET Framework 1.1.

For more information, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn2.microsoft.com/en-us/library/aa332847(VS.71).aspx

↑ Back to the top


More information

The HttpServerUtility.Transfer method contains two parameters.
The first parameter is a URL path of the new page on the server to execute.
The second optional parameter indicates whether the Form and the QueryString values can pass from the calling page to the page that the user is being transferred to.
HttpServerUtility.Transfer(String, Boolean);
In the .NET Framework 1.0, if the second optional parameter of the HttpServerUtility.Transfer method is not specified, the second parameter is set to false.

In the .NET Framework 1.1, if the second optional parameter of the HttpServerUtility.Transfer method is not specified, the second parameter is set to true.

The "Parameters" section of the "HttpServerUtility.Transfer Method (String, Boolean)" topic in MSDN states the following:

path
The URL path of the new page on the server to execute.
preserveForm
If true, the QueryString and Form collections are preserved. If false, they are cleared. The default is false.

The following is the correct information:

path
The URL path of the new page on the server to execute.
preserveForm
If true, the QueryString and Form collections are preserved. If false, they are cleared. In the .NET Framework 1.0, the default value of the preserveForm parameter is false. In the .NET Framework 1.1, the default value of the preserveForm parameter is true.

↑ Back to the top


References

For more information, visit the following Microsoft Developer Network (MSDN) Web site:

↑ Back to the top


Keywords: KB833833, kbdocerr, kbbug

↑ Back to the top

Article Info
Article ID : 833833
Revision : 3
Created on : 4/29/2007
Published on : 4/29/2007
Exists online : False
Views : 323