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

Anti-Virus Software Can Cause Problems
Show All Tips >>
ASP 101 RSS Feed ASP 101 Updates

Quick Tips

Don't Forget that Final /

While this isn't really an ASP tip, it's important just the same. When you're trying a hyperlink to another location and aren't specifying a file name, be sure to include a trailing /. Without it the client will need to do two roundtrips to the server to arrive at the right page. The first to check for the existence of an extensionless file and the second to get the default page you were intending.

For example, if you're trying to reach the default document in the test directory,

<a href="/test">

will result in two requests while

<a href="/test/">

will arrive at the same page with just one!

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