Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / March 2008

Tip: Looking for answers? Try searching our database.

Web Browsers Append "/" to URL

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike - 23 Mar 2008 14:25 GMT
This question isn't a true ASP.NET-related question, but I don't know where
else to post it.

Why do web browsers automatically append URL's with a forward-slash (/)?  
For example, if you type http://www.amazon.com into your web browser, your
web browser will change it to http://www.amazon.com/.

This is a question of curiosity, like I said, and isn't an ASP.NET question.
I simply want to know the reasons why it does this.  Thanks!
Tom Dacon - 23 Mar 2008 18:53 GMT
If there's no trailing slash, the web site sends a message back to the web
browser, asking if the url represents a file name or a web address, and so
there's one round-trip between the browser and the site before the page gets
served up. When the browser appends the slash before doing the HTTP request,
it avoids that overhead.

Tom Dacon
Dacon Software Consulting

> This question isn't a true ASP.NET-related question, but I don't know
> where
[quoted text clipped - 7 lines]
> question.
> I simply want to know the reasons why it does this.  Thanks!

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.