KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Support for Unknown URLs
PRODUCT: 4D | VERSION: 2004 | PLATFORM: Mac & Win
Published On: November 3, 2006
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

In previous versions of 4th Dimension, the support for unknown URLs (URLs that correspond neither to an existing page nor to a 4D special URL) was a particular case: the values returned in $1 in the On Web Authentication and On Web Connection database methods did NOT begin with the “/” character.

For example, if the URL was “https://123.4.567.89/Customers/Add” and if there was no page “Add” in the “Customers” folder, the database methods were called with the value “Customers/Add” in $1.

Since this particular case could sometimes prove to be problematic, it has been removed in 4th Dimension 2004: all URLs sent in $1 start with the “/” character.