fandt selv ud af hvorfor...
Dear Web Team:
Hi!
I am using Windows 98 Second Edition and Personal Web Server. I have been using Response.Redirect to move to a new ASP page, but I would like to utilize the new Server.Transfer method. Unfortunately, when I try to use it, I get the following message:
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method: 'Server.Transfer'
Does Personal Web Server support Server.Transfer? Do I need a new version?
Thanks for any help you can provide!!!
David
The Web Team replies:
David, Server.Transfer is one of the new features of ASP in Internet Information Services (IIS) 5. So, to answer your question, you need IIS 5 to get this functionality.
We thought it would be nice to expand on this a little more for our readers.
Server.Transfer does a lot more than just redirect to a page without an expensive round trip to the client. The state information for all the built-in objects and the information in the Request collections will be included in the transfer.
The code snippets at the following URLs clarify this much better.
http://msdn.microsoft.com/library/psdk/iisref/vbob9waa.htm Q219294 "How to Use the Server.Transfer Method"
Another useful ASP feature in IIS 5 is Server.Execute, which allows you to include ASP files dynamically.
The following article sums it all up beautifully: "New directions in redirection."