Microsoft Knowledge Base Email Alertz

(833833) - Corrects a documentation error in the Microsoft Developer Network (MSDN), relating to a change in the behavior of the HttpServerUtility.Transfer method call in the Microsoft .NET Framework 1.1.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 833833 - Last Review: April 29, 2007 - Revision: 1.4

Description of the documentation error in the "HttpServerUtility.Transfer Method (String, Boolean)" topic in the Microsoft Developer Network

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 (http://msdn2.microsoft.com/en-us/library/aa332847(VS.71).aspx)

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.

REFERENCES

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

APPLIES TO
  • Microsoft ASP.NET 1.1
  • Microsoft ASP.NET 1.0
Keywords: 
kbdocerr kbbug KB833833
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate