ASP 101 - Active Server Pages 101 - Web01
The Place ASP Developers Go!

Windows Technology Windows Technology
15 Seconds
ASP 101
ASP Wire
VB Forums
VB Wire
internet.commerce internet.commerce
Partners & Affiliates
ASP 101 is an site
ASP 101 is an site
Internet News
Small Business
Personal Technology

Corporate Info
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash

 Top ASP 101 Stories Top ASP 101 Stories
Connections, Commands, And Procedures
What is ASP?
VBScript Classes: Part 1 of N

Cache HTTP Requests
Show All Tips >>
ASP 101 RSS Feed ASP 101 Updates

Quick Tips

Watch your Paths with Server.Transfer

Server.Transfer is one of the great new commands you can use if you've got ASP 3.0. It allows you to move processing to another ASP page to fulfill a client request. It's much more efficient and eliminates the redirect command being sent to the browser and the browser needing to make another request that occurs with Response.Redirect. There is one little catch however...

Since the client was never told they were moved, you need to be careful when using relative links. If you've moved the client to a directory different from where they started, you need to be sure the document you redirected them to can still find any support files it needs. This usually shows up as broken images on the client and while it can easily be fixed by using absolute paths in the target file, it can easily catch you off guard if you're transitioning from Response.Redirect commands and were't expecting it.

Previous      Show All Tips      Next

If you have a tip you would like to submit, please send it to:

Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback
The Network for Technology Professionals



Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers