What's the difference between HttpServerUtility.Transfer and Server.Transer?
Asked
Active
Viewed 1,114 times
2 Answers
4
They are the same. The name of the class that has the Transfer
method is HttpServerUtility
, but an instance of the HttpServerUtility
is available from several objects through the Server
property.
For example, the Page
class has a Server
property, so while you are inside methods for a web page, you can use Server.Transfer
to call the method.

Guffa
- 687,336
- 108
- 737
- 1,005
2
Server.Transfer
is a VBScript method in ASP Classic.
HttpServerUtility.Transfer
is an ASP.Net method that does the same thing.

SLaks
- 868,454
- 176
- 1,908
- 1,964