Difference between single and double bracket notation

Difference between single and double bracket notation

Do you know the difference between single and double bracket notation? Why does Notes handle the URL parameters differently between the two notations?


    Requires Free Membership to View

    Register today to access targeted resources from our editorial writers and independent industry experts focused on Lotus Domino, Notes, Workplace and other related technologies.

    By submitting your registration information to SearchDomino.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchDomino.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

When you use the single bracket notation, the specified URL is sent to the client, which then sends it back to the server as an HTTP request, creating a round-trip back to the server. The double bracket notation tells the server to perform an internal redirection, saving the round-trip to the browser and back, which should improve performance. However, because this redirection happens at the server, query string parameters are lost. This "feature" is not well documented and seems to have been discontinued in later versions of 5.0x. However, using the single bracket notation seems to work fine and is what I'd recommend.


This was first published in December 2001